]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: fix address selection in fib_compute_spec_dst
authorJulian Anastasov <ja@ssi.bg>
Wed, 18 Jul 2012 21:35:03 +0000 (21:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 15:30:49 +0000 (08:30 -0700)
commit5e622f02193bce4f368856bd1fc6f549495ac731
tree28be5b939062368de3001e4602cede3a0727b07a
parentade3fac7e96b07c301a830303593bc147293c490
ipv4: fix address selection in fib_compute_spec_dst

ip_options_compile can be called for forwarded packets,
make sure the specific-destionation address is a local one as
specified in RFC 1812, 4.2.2.2 Addresses in Options

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c