mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
Revert "netlink: test for all flags of the NLM_F_DUMP composite"
This reverts commit 0ab03c2b14
.
It breaks several things including the avahi daemon.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ff76015f3b
commit
b8f3ab4290
5 changed files with 6 additions and 6 deletions
|
@ -1820,7 +1820,7 @@ static int rtnetlink_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
|
|||
if (kind != 2 && security_netlink_recv(skb, CAP_NET_ADMIN))
|
||||
return -EPERM;
|
||||
|
||||
if (kind == 2 && (nlh->nlmsg_flags & NLM_F_DUMP) == NLM_F_DUMP) {
|
||||
if (kind == 2 && nlh->nlmsg_flags&NLM_F_DUMP) {
|
||||
struct sock *rtnl;
|
||||
rtnl_dumpit_func dumpit;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue