Searched hist:"1 b6651f1bf2453d593478aa88af267f057fd73e2" (Results 1 – 1 of 1) sorted by relevance
/linux/net/ipv4/ |
H A D | route.c | diff 1b6651f1bf2453d593478aa88af267f057fd73e2 Tue Dec 05 04:59:00 CET 2006 Patrick McHardy <kaber@trash.net> [XFRM]: Use output device disable_xfrm for forwarded packets
Currently the behaviour of disable_xfrm is inconsistent between locally generated and forwarded packets. For locally generated packets disable_xfrm disables the policy lookup if it is set on the output device, for forwarded traffic however it looks at the input device. This makes it impossible to disable xfrm on all devices but a dummy device and use normal routing to direct traffic to that device.
Always use the output device when checking disable_xfrm.
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
|