GRETH: fixed skb buffer memory leak on frame errors
authorDaniel Hellstrom <daniel@gaisler.com>
Fri, 14 Jan 2011 03:02:40 +0000 (03:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jan 2011 20:45:53 +0000 (12:45 -0800)
commitb669e7f0580f3c0058f1b32c276ef6da8f05c138
tree5bb14db09784d4cbc5a460a273980b3a470998a8
parent2a2bc012b98729ce9a39386faed28d11ee021683
GRETH: fixed skb buffer memory leak on frame errors

A new SKB buffer should not be allocated when the old SKB is reused.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c