[PATCH 1/7][RFC] nf: xt_socket: export the fancy sock finder code

2012-09-21 Thread John Stultz
From: JP Abgrall The socket matching function has some nifty logic to get the struct sock from the skb or from the connection tracker. We export this so other xt_* can use it, similarly to ho how xt_socket uses nf_tproxy_get_sock. Cc: net...@vger.kernel.org Cc: JP Abgrall Cc: Ashish Sharma

[PATCH 1/7][RFC] nf: xt_socket: export the fancy sock finder code

2012-09-21 Thread John Stultz
From: JP Abgrall j...@google.com The socket matching function has some nifty logic to get the struct sock from the skb or from the connection tracker. We export this so other xt_* can use it, similarly to ho how xt_socket uses nf_tproxy_get_sock. Cc: net...@vger.kernel.org Cc: JP Abgrall