summaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_diag.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-01-12 06:47:21 +0100
committerPaul Mundt <lethal@linux-sh.org>2011-01-12 06:47:21 +0100
commit53582c4c508a95ece9f7c907edef9911c7eb79eb (patch)
treec099e9880f7bf7d60e87dfa6a19cb4e8780ec860 /net/ipv4/inet_diag.c
parentARM: mach-shmobile: mackerel: Add touchscreen ST1232 support (diff)
parentARM: mach-shmobile: sh7372 Enable SDIO IRQs for Mackerel (diff)
downloadlinux-53582c4c508a95ece9f7c907edef9911c7eb79eb.tar.xz
linux-53582c4c508a95ece9f7c907edef9911c7eb79eb.zip
Merge branch 'rmobile/sdio' into rmobile-latest
Diffstat (limited to 'net/ipv4/inet_diag.c')
-rw-r--r--net/ipv4/inet_diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_diag.c b/net/ipv4/inet_diag.c
index 2ada17129fce..2746c1fa6417 100644
--- a/net/ipv4/inet_diag.c
+++ b/net/ipv4/inet_diag.c
@@ -858,7 +858,7 @@ static int inet_diag_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
nlmsg_len(nlh) < hdrlen)
return -EINVAL;
- if (nlh->nlmsg_flags & NLM_F_DUMP) {
+ if ((nlh->nlmsg_flags & NLM_F_DUMP) == NLM_F_DUMP) {
if (nlmsg_attrlen(nlh, hdrlen)) {
struct nlattr *attr;