diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2013-11-14 13:51:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-14 22:59:16 +0100 |
commit | f0e2acfa30920fc9b902734baba71e58f2fd844a (patch) | |
tree | b1170691501d18748d1aa47c005e9042be803861 /include/net | |
parent | sit: fix prefix length of ll and v4mapped addresses (diff) | |
download | linux-f0e2acfa30920fc9b902734baba71e58f2fd844a.tar.xz linux-f0e2acfa30920fc9b902734baba71e58f2fd844a.zip |
sit: link local routes are missing
When a link local address was added to a sit interface, the corresponding route
was not configured. This breaks routing protocols that use the link local
address, like OSPFv3.
To ease the code reading, I remove sit_route_add(), which only adds v4 mapped
routes, and add this kind of route directly in sit_add_v4_addrs(). Thus link
local and v4 mapped routes are configured in the same place.
Reported-by: Li Hongjun <hongjun.li@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions