X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=net%2Fcore%2Fneighbour.c;fp=net%2Fcore%2Fneighbour.c;h=72ba027c34cfea6f38a9e78927c35048ebfe7a7f;hp=47931c8be04b80a249eb070c02773587a1ed1bb7;hb=4177d5b017a71433d4760889b88f7a29e11fad10;hpb=a68229ca634066975fff6d4780155bd2eb14a82a diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 47931c8be04b..72ba027c34cf 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c @@ -1779,6 +1779,7 @@ int neigh_table_clear(int index, struct neigh_table *tbl) { neigh_tables[index] = NULL; /* It is not clean... Fix it to unload IPv6 module safely */ + cancel_delayed_work_sync(&tbl->managed_work); cancel_delayed_work_sync(&tbl->gc_work); del_timer_sync(&tbl->proxy_timer); pneigh_queue_purge(&tbl->proxy_queue);