From: Herbert Xu Date: Wed, 14 Nov 2007 05:35:01 +0000 (-0800) Subject: [IPSEC]: Only set neighbour on top xfrm dst X-Git-Tag: v2.6.25-rc1~1162^2~1456 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ce68ceb55fb62d2c8e9a3e94c4ef6ff3e3064ce;p=pandora-kernel.git [IPSEC]: Only set neighbour on top xfrm dst The neighbour field is only used by dst_confirm which only ever happens on the top-most xfrm dst. So it's a waste to duplicate for every other xfrm dst. This patch moves its setting out of the loop so that only the top one gets set. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed