lapbeth: Release ->ethdev when unregistering device.
authorDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2008 04:10:58 +0000 (21:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 May 2008 04:10:58 +0000 (21:10 -0700)
commite544ff00da4b53069dbca3debbfb02d455f72467
tree9c89454dddc6c01dc179dd369a258caae0142b55
parent41fef0ee7b8f3fe3f3dd2ddc9b170f3d88bce595
lapbeth: Release ->ethdev when unregistering device.

Otherwise it leaks forever.

Based upon a report by Roland <devzero@web.de>

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lapbether.c