projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c5417
)
IPv6: work around dangling routes kernel issue
author
Steven Barth
<steven@midlink.org>
Sun, 16 Feb 2014 11:10:57 +0000
(12:10 +0100)
committer
Steven Barth
<steven@midlink.org>
Sun, 16 Feb 2014 11:10:57 +0000
(12:10 +0100)
interface-ip.c
patch
|
blob
|
history
diff --git
a/interface-ip.c
b/interface-ip.c
index fed7d725c7c37b7b9742aa3300c81c3729747966..3bd92cf49198c22b0d1b845e5f31b44c082f1a64 100644
(file)
--- a/
interface-ip.c
+++ b/
interface-ip.c
@@
-648,6
+648,7
@@
interface_set_prefix_address(struct device_prefix_assignment *assignment,
addr.preferred_until = now;
if (!addr.valid_until || addr.valid_until - now > 7200)
addr.valid_until = now + 7200;
+ system_del_address(l3_downlink, &addr); // Work around dangling prefix routes
system_add_address(l3_downlink, &addr);
if (prefix->iface) {
if (prefix->iface->ip6table)