summaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2018-03-14 21:10:23 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-16 17:34:48 +0100
commit02a2385f37a7c6594c9d89b64c4a1451276f08eb (patch)
tree6d546ca371da37ba8c91bfc84f50f600c9c0ec9c /net/core/skbuff.c
parentqede: Fix qedr link update (diff)
downloadlinux-02a2385f37a7c6594c9d89b64c4a1451276f08eb.tar.xz
linux-02a2385f37a7c6594c9d89b64c4a1451276f08eb.zip
netlink: avoid a double skb free in genlmsg_mcast()
nlmsg_multicast() consumes always the skb, thus the original skb must be freed only when this function is called with a clone. Fixes: cb9f7a9a5c96 ("netlink: ensure to loop over all netns in genlmsg_multicast_allns()") Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions