diff options
author | Calvin Owens | 2014-11-05 01:37:40 +0100 |
---|---|---|
committer | Simon Horman | 2014-11-12 03:03:04 +0100 |
commit | 50656d9df63d69ce399c8be62d4473b039dac36a (patch) | |
tree | 61c9758c73655b8ee3f23a7b40c0594493d31d2c /net/sctp/Kconfig | |
parent | netfilter: ipset: small potential read beyond the end of buffer (diff) | |
download | kernel-qcow2-linux-50656d9df63d69ce399c8be62d4473b039dac36a.tar.gz kernel-qcow2-linux-50656d9df63d69ce399c8be62d4473b039dac36a.tar.xz kernel-qcow2-linux-50656d9df63d69ce399c8be62d4473b039dac36a.zip |
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>
Diffstat (limited to 'net/sctp/Kconfig')
0 files changed, 0 insertions, 0 deletions