Tom Parkin 44046a593e udp: add encap_destroy callback
Users of udp encapsulation currently have an encap_rcv callback which they can
use to hook into the udp receive path.

In situations where a encapsulation user allocates resources associated with a
udp encap socket, it may be convenient to be able to also hook the proto
.destroy operation.  For example, if an encap user holds a reference to the
udp socket, the destroy hook might be used to relinquish this reference.

This patch adds a socket destroy hook into udp, which is set and enabled
in the same way as the existing encap_rcv hook.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-20 12:10:38 -04:00
..
2013-02-25 15:47:41 -05:00
2013-02-15 15:10:37 -05:00
2012-10-08 17:42:36 -04:00
2013-02-04 15:46:15 -05:00
2012-07-31 18:42:43 -07:00
2013-02-21 15:25:00 -05:00
2012-05-17 14:59:59 -04:00
2013-03-14 11:49:45 -04:00
2013-03-14 11:49:45 -04:00
2012-03-11 23:42:51 -07:00
2012-04-15 12:37:19 -04:00
2013-03-20 12:10:38 -04:00