projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[X.25]: Add call forwarding
[cascardo/linux.git]
/
net
/
x25
/
x25_route.c
diff --git
a/net/x25/x25_route.c
b/net/x25/x25_route.c
index
2a3fe98
..
883a848
100644
(file)
--- a/
net/x25/x25_route.c
+++ b/
net/x25/x25_route.c
@@
-119,6
+119,9
@@
void x25_route_device_down(struct net_device *dev)
__x25_remove_route(rt);
}
write_unlock_bh(&x25_route_list_lock);
+
+ /* Remove any related forwarding */
+ x25_clear_forward_by_dev(dev);
}
/*