From: Calvin Owens Date: Wed, 5 Nov 2014 00:37:40 +0000 (-0800) Subject: ipvs: Keep skb->sk when allocating headroom on tunnel xmit X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~83^2~20^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50656d9df63d69ce399c8be62d4473b039dac36a;p=pandora-kernel.git 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 Acked-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed