projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge v5.14-rc3 into usb-next
[linux-2.6-microblaze.git]
/
net
/
ipv4
/
udp_diag.c
diff --git
a/net/ipv4/udp_diag.c
b/net/ipv4/udp_diag.c
index
b2cee9a
..
1ed8c4d
100644
(file)
--- a/
net/ipv4/udp_diag.c
+++ b/
net/ipv4/udp_diag.c
@@
-77,10
+77,8
@@
static int udp_dump_one(struct udp_table *tbl,
kfree_skb(rep);
goto out;
}
kfree_skb(rep);
goto out;
}
- err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid,
- MSG_DONTWAIT);
- if (err > 0)
- err = 0;
+ err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid);
+
out:
if (sk)
sock_put(sk);
out:
if (sk)
sock_put(sk);