git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "netlink: test for all flags of the NLM_F_DUMP composite"
[pandora-kernel.git]
/
net
/
netlink
/
genetlink.c
diff --git
a/net/netlink/genetlink.c
b/net/netlink/genetlink.c
index
f83cb37
..
1781d99
100644
(file)
--- a/
net/netlink/genetlink.c
+++ b/
net/netlink/genetlink.c
@@
-519,7
+519,7
@@
static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
security_netlink_recv(skb, CAP_NET_ADMIN))
return -EPERM;
- if (
(nlh->nlmsg_flags & NLM_F_DUMP) ==
NLM_F_DUMP) {
+ if (
nlh->nlmsg_flags &
NLM_F_DUMP) {
if (ops->dumpit == NULL)
return -EOPNOTSUPP;