diff options
Diffstat (limited to 'net/x25/x25_link.c')
-rw-r--r-- | net/x25/x25_link.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/x25/x25_link.c b/net/x25/x25_link.c index 4c81f6abb65b..4cbc942f762a 100644 --- a/net/x25/x25_link.c +++ b/net/x25/x25_link.c | |||
@@ -398,6 +398,7 @@ void __exit x25_link_free(void) | |||
398 | list_for_each_safe(entry, tmp, &x25_neigh_list) { | 398 | list_for_each_safe(entry, tmp, &x25_neigh_list) { |
399 | nb = list_entry(entry, struct x25_neigh, node); | 399 | nb = list_entry(entry, struct x25_neigh, node); |
400 | __x25_remove_neigh(nb); | 400 | __x25_remove_neigh(nb); |
401 | dev_put(nb->dev); | ||
401 | } | 402 | } |
402 | write_unlock_bh(&x25_neigh_list_lock); | 403 | write_unlock_bh(&x25_neigh_list_lock); |
403 | } | 404 | } |