ipv4: fix ipsec forward performance regression
authorYan, Zheng <zheng.z.yan@intel.com>
Sat, 22 Oct 2011 21:58:20 +0000 (21:58 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:39 +0000 (09:43 -0800)
commit9dcc771f0944de26f5ad73edffe7f9c4985e3f6c
treeb2895d89cccfa01a58fc65cdeec5d1173f84155e
parent3512abc22491c30115ee5ba371975f25d86a13a2
ipv4: fix ipsec forward performance regression

[ Upstream commit b73233960a59ee66e09d642f13d0592b13651e94 ]

There is bug in commit 5e2b61f(ipv4: Remove flowi from struct rtable).
It makes xfrm4_fill_dst() modify wrong data structure.

Signed-off-by: Zheng Yan <zheng.z.yan@intel.com>
Reported-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/xfrm4_policy.c