diff options
author | 2009-09-25 13:12:03 +0000 | |
---|---|---|
committer | 2009-09-26 20:16:15 -0700 | |
commit | 7eaf5077b37bb33dbd44e569ff88566d6fe286e9 (patch) | |
tree | 71029b598e5236463cf2a979926d9a98783e2558 /net/socket.c | |
parent | net: fix nlmsg len size for skb when error bit is set. (diff) | |
download | wireguard-linux-7eaf5077b37bb33dbd44e569ff88566d6fe286e9.tar.xz wireguard-linux-7eaf5077b37bb33dbd44e569ff88566d6fe286e9.zip |
net: fix double skb free in dcbnl
netlink_unicast() calls kfree_skb even in the error case.
dcbnl calls netlink_unicast() which when it fails free's the
skb and returns an error value. dcbnl is free'ing the skb
again when this error occurs. This patch removes the double
free.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions