llc: free the right skb
authorSorin Dumitru <sdumitru@ixiacom.com>
Mon, 6 Aug 2012 02:35:58 +0000 (02:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2012 20:30:01 +0000 (13:30 -0700)
commit91d27a8650d5359a7a320daeb35b88cdea15e3a8
tree5449b227bd8607d9faec4ae70dba20bc063560bc
parent8b82f7c3c90fa67fd6d5be1deb3cec0e17cc32d9
llc: free the right skb

We are freeing skb instead of nskb, resulting in a double
free on skb and a leak from nskb.

Signed-off-by: Sorin Dumitru <sdumitru@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_station.c