WSL2-Linux-Kernel/net/dcb
John Fastabend 7eaf5077b3 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>
2009-09-26 20:16:15 -07:00
..
Kconfig DCB: fix kconfig option 2008-11-25 01:02:08 -08:00
Makefile ixgbe: this patch adds support for DCB to the kernel and ixgbe driver 2008-11-20 20:52:10 -08:00
dcbnl.c net: fix double skb free in dcbnl 2009-09-26 20:16:15 -07:00