diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-10-08 11:41:16 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-08 21:42:35 (GMT) |
commit | e0adef0f7456d5d3a3bfe8ea61c7dddf146b40e1 (patch) | |
tree | b8b38b6fac97938a9d1a470969e422de49ddb382 /fs/ubifs | |
parent | e81da0e113a1b7fc7449ae6213f65f89ccac6d06 (diff) | |
download | linux-e0adef0f7456d5d3a3bfe8ea61c7dddf146b40e1.tar.xz |
ipv4: fix forwarding for strict source routes
After the change "Adjust semantics of rt->rt_gateway"
(commit f8126f1d51) rt_gateway can be 0 but ip_forward() compares
it directly with nexthop. What we want here is to check if traffic
is to directly connected nexthop and to fail if using gateway.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions