]> git.baikalelectronics.ru Git - kernel.git/commit
slip: Clean up create and destroy
authorAlan Cox <alan@linux.intel.com>
Sat, 19 Sep 2009 20:13:17 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:17 +0000 (13:13 -0700)
commit81de842c97800439b01c90bae9c18d1ea18b00fe
tree9a1e0019453b81ca4bb9e729764887a27e175688
parente2afc000a4901528141d354d3cca901b9ff50297
slip: Clean up create and destroy

The network layer now has a destructor we can hook to clean up the slip
devices array. That needs us to initiate unregister events in the right
places which with the current tty layer we can do, and with network
refcounting is safe to do.

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/slip.c