syscall_net: make close non blocking add a callback for reuse
authorAlan Cox <alan@linux.intel.com>
Fri, 30 Mar 2018 23:25:50 +0000 (00:25 +0100)
committerAlan Cox <alan@linux.intel.com>
Fri, 30 Mar 2018 23:25:50 +0000 (00:25 +0100)
commit3ee7ac5ed3065ba95e04214d3b24961409940cf5
tree1399dc9961f53be3b2431453550e08491014b7f6
parent486ae2b76adc3e27df065ce91e44232f16b15548
syscall_net: make close non blocking add a callback for reuse

The new mode is close() sends a message to ask the stack to clean up. The
socket ends up dead until the stack calls ack into closed() to say that the
resources are now free.
Kernel/include/netdev.h
Kernel/syscall_net.c