Many contexts need to reach listener socket from skb attached to a request socket. This patch series add skb_to_full_sk() to clearly express this need and use it where appropriate.
Eric Dumazet (6): net: add skb_to_full_sk() helper and use it in selinux_netlbl_skbuff_setsid() smack: use skb_to_full_sk() helper netfilter: xt_owner: use skb_to_full_sk() helper sched: cls_flow: use skb_to_full_sk() helper net_sched: em_meta: use skb_to_full_sk() helper netfilter: nft_meta: use skb_to_full_sk() helper include/net/inet_sock.h | 12 ++++ net/netfilter/nft_meta.c | 36 +++++----- net/netfilter/xt_owner.c | 6 +- net/sched/cls_flow.c | 15 +++-- net/sched/em_meta.c | 138 ++++++++++++++++++++++++++------------- security/selinux/hooks.c | 16 +---- security/selinux/netlabel.c | 2 +- security/smack/smack_netfilter.c | 11 ++-- 8 files changed, 149 insertions(+), 87 deletions(-) -- 2.6.0.rc2.230.g3dd15c0 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html