X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fx25%2Fx25_route.c;h=060fcfaa2f47c3ec8465348336dd4a095546b22e;hb=e1be5d73e07dd6015b6ea255a36aae3b61b7b054;hp=2a3fe986b245f648f59a83bca138a72b22419482;hpb=db1a19b38f3a85f475b4ad716c71be133d8ca48e;p=powerpc.git diff --git a/net/x25/x25_route.c b/net/x25/x25_route.c index 2a3fe986b2..060fcfaa2f 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); } /*