X-Git-Url: http://git.agner.ch/gitweb/?p=linux-drm-fsl-dcu.git;a=blobdiff_plain;f=net%2Fx25%2Fx25_route.c;h=060fcfaa2f47c3ec8465348336dd4a095546b22e;hp=2a3fe986b245f648f59a83bca138a72b22419482;hb=574009c1a895aeeb85eaab29c235d75852b09eb8;hpb=026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c index 2a3fe986b245..060fcfaa2f47 100644 --- a/net/x25/x25_route.c +++ b/net/x25/x25_route.c @@ -3,7 +3,7 @@ * * This is ALPHA test software. This code may break your machine, * randomly fail to work with new releases, misbehave and/or generally - * screw up. It might even work. + * screw up. It might even work. * * This code REQUIRES 2.1.15 or higher * @@ -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); } /*