atm: add release_cb() callback to vcc
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 28 Nov 2012 00:03:11 +0000 (00:03 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 2 Dec 2012 00:05:12 +0000 (00:05 +0000)
commitc971f08cba56ed17fe22040ca5ff97fe5c3f0bd7
tree1b445a3e1fc333b816d7dc0b9ad5e34ad9645945
parent7ad3eadebcb1778c11bbf0fe059d0804173a8123
atm: add release_cb() callback to vcc

The immediate use case for this is that it will allow us to ensure that a
pppoatm queue is woken after it has to drop a packet due to the sock being
locked.

Note that 'release_cb' is called when the socket is *unlocked*. This is
not to be confused with vcc_release() — which probably ought to be called
vcc_close().

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Krzysztof Mazur <krzysiek@podlesie.net>
include/linux/atmdev.h
net/atm/common.c