aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/x25_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25/x25_route.c')
-rw-r--r--net/x25/x25_route.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c
index 2a3fe986b245..883a848bca5b 100644
--- 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)
119 __x25_remove_route(rt); 119 __x25_remove_route(rt);
120 } 120 }
121 write_unlock_bh(&x25_route_list_lock); 121 write_unlock_bh(&x25_route_list_lock);
122
123 /* Remove any related forwarding */
124 x25_clear_forward_by_dev(dev);
122} 125}
123 126
124/* 127/*