summaryrefslogtreecommitdiffstats
path: root/net/x25/x25_route.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-02-10 20:45:43 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-02-10 20:45:43 +0100
commit81b7bbd1932a04869d4c8635a75222dfc6089f96 (patch)
tree285ae868a1e3a41fb0dbfe346c28e380949bcb55 /net/x25/x25_route.c
parent[SCSI] zfcp: removed wrong comment (diff)
parentlibata: kill ATA_ENABLE_PATA (diff)
downloadlinux-81b7bbd1932a04869d4c8635a75222dfc6089f96.tar.xz
linux-81b7bbd1932a04869d4c8635a75222dfc6089f96.zip
Merge branch 'linus'
Conflicts: drivers/scsi/ipr.c Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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)
__x25_remove_route(rt);
}
write_unlock_bh(&x25_route_list_lock);
+
+ /* Remove any related forwarding */
+ x25_clear_forward_by_dev(dev);
}
/*