linux/net/netfilter/ipvs
Calvin Owens 50656d9df6 ipvs: Keep skb->sk when allocating headroom on tunnel xmit
ip_vs_prepare_tunneled_skb() ignores ->sk when allocating a new
skb, either unconditionally setting ->sk to NULL or allowing
the uninitialized ->sk from a newly allocated skb to leak through
to the caller.

This patch properly copies ->sk and increments its reference count.

Signed-off-by: Calvin Owens <calvinowens@fb.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
2014-11-12 11:03:04 +09:00
..
ip_vs_app.c
ip_vs_conn.c ipvs: use the new dest addr family field 2014-09-18 08:59:28 +09:00
ip_vs_core.c ipvs: use the new dest addr family field 2014-09-18 08:59:28 +09:00
ip_vs_ctl.c ipvs: Allow heterogeneous pools now that we support them 2014-09-18 08:59:29 +09:00
ip_vs_dh.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_est.c
ip_vs_fo.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_ftp.c netfilter: replace strnicmp with strncasecmp 2014-10-14 02:18:24 +02:00
ip_vs_lblc.c ipvs: address family of LBLC entry depends on svc family 2014-09-16 09:03:38 +09:00
ip_vs_lblcr.c ipvs: address family of LBLCR entry depends on svc family 2014-09-16 09:03:38 +09:00
ip_vs_lc.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_nfct.c
ip_vs_nq.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_pe_sip.c
ip_vs_pe.c
ip_vs_proto_ah_esp.c
ip_vs_proto_sctp.c ipvs: use the new dest addr family field 2014-09-18 08:59:28 +09:00
ip_vs_proto_tcp.c ipvs: use the new dest addr family field 2014-09-18 08:59:28 +09:00
ip_vs_proto_udp.c
ip_vs_proto.c
ip_vs_rr.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_sched.c
ip_vs_sed.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_sh.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_sync.c ipvs: Supply destination address family to ip_vs_conn_new 2014-09-16 09:03:34 +09:00
ip_vs_wlc.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_wrr.c ipvs: use correct address family in scheduler logs 2014-09-18 08:59:23 +09:00
ip_vs_xmit.c ipvs: Keep skb->sk when allocating headroom on tunnel xmit 2014-11-12 11:03:04 +09:00
Kconfig ipvs: Add simple weighted failover scheduler 2014-09-16 09:03:32 +09:00
Makefile ipvs: Add simple weighted failover scheduler 2014-09-16 09:03:32 +09:00