summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_core.c
diff options
context:
space:
mode:
authorAndreas Hofmeister2011-10-26 05:24:29 +0200
committerDavid S. Miller2011-10-30 09:12:36 +0100
commit14ef37b6d00eb5d06704e45989ba4c21e7be7673 (patch)
tree800422d2aa85e190bc6e07e305574d71bf25db24 /net/8021q/vlan_core.c
parentbonding: eliminate bond_close race conditions (diff)
downloadkernel-qcow2-linux-14ef37b6d00eb5d06704e45989ba4c21e7be7673.tar.gz
kernel-qcow2-linux-14ef37b6d00eb5d06704e45989ba4c21e7be7673.tar.xz
kernel-qcow2-linux-14ef37b6d00eb5d06704e45989ba4c21e7be7673.zip
ipv6: fix route lookup in addrconf_prefix_rcv()
The route lookup to find a previously auto-configured route for a prefixes used to use rt6_lookup(), with the prefix from the RA used as an address. However, that kind of lookup ignores routing tables, the prefix length and route flags, so when there were other matching routes, even in different tables and/or with a different prefix length, the wrong route would be manipulated. Now, a new function "addrconf_get_prefix_route()" is used for the route lookup, which searches in RT6_TABLE_PREFIX and takes the prefix-length and route flags into account. Signed-off-by: Andreas Hofmeister <andi@collax.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_core.c')
0 files changed, 0 insertions, 0 deletions