diff options
author | Nicolas Dichtel <[email protected]> | 2018-03-14 21:10:23 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-16 12:34:48 -0400 |
commit | 02a2385f37a7c6594c9d89b64c4a1451276f08eb (patch) | |
tree | 6d546ca371da37ba8c91bfc84f50f600c9c0ec9c /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 4609adc27175839408359822523de7247d56c87f (diff) |
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 <[email protected]>
Signed-off-by: Nicolas Dichtel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions