diff options
author | David S. Miller <davem@davemloft.net> | 2011-01-18 12:40:38 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-19 13:34:20 -0800 |
commit | b8f3ab4290f1e720166e888ea2a1d1d44c4d15dd (patch) | |
tree | 88d5b71b27ed9ca0b5d67bd6ae61f592fb61fdc5 /net/ipv4/inet_diag.c | |
parent | ff76015f3bdfbc482c723cb4f2559cef84d178ca (diff) | |
download | kernel_goldelico_gta04-b8f3ab4290f1e720166e888ea2a1d1d44c4d15dd.zip kernel_goldelico_gta04-b8f3ab4290f1e720166e888ea2a1d1d44c4d15dd.tar.gz kernel_goldelico_gta04-b8f3ab4290f1e720166e888ea2a1d1d44c4d15dd.tar.bz2 |
Revert "netlink: test for all flags of the NLM_F_DUMP composite"
This reverts commit 0ab03c2b1478f2438d2c80204f7fef65b1bca9cf.
It breaks several things including the avahi daemon.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inet_diag.c')
-rw-r--r-- | net/ipv4/inet_diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/inet_diag.c b/net/ipv4/inet_diag.c index 2746c1f..2ada171 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) == NLM_F_DUMP) { + if (nlh->nlmsg_flags & NLM_F_DUMP) { if (nlmsg_attrlen(nlh, hdrlen)) { struct nlattr *attr; |