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
..
2009-09-23 22:26:32 +09:30
2009-05-25 01:53:53 -07:00
2009-09-26 20:16:15 -07:00
2009-05-25 01:53:53 -07:00
2009-09-24 15:39:22 -07:00
2009-09-24 15:39:22 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00
2009-09-23 11:35:53 -04:00
2009-07-23 18:01:10 -07:00
2009-08-04 16:44:23 -04:00
2009-09-14 17:03:09 -07:00
2009-09-24 15:39:14 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00
2009-09-23 07:39:28 -07:00