]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netfilter: unregister nf hooks, matches and targets in the reverse order
authorChangli Gao <xiaosuo@gmail.com>
Mon, 4 Oct 2010 20:24:12 +0000 (22:24 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 4 Oct 2010 20:24:12 +0000 (22:24 +0200)
commitf68c53015c5b9aa98ffd87a34009f89bdbbd7160
tree93c420dc5f5643125d1bad05398faceeade47416
parente55df53dd62c73185af46fb6ffa7074b05ceefc4
netfilter: unregister nf hooks, matches and targets in the reverse order

Since we register nf hooks, matches and targets in order, we'd better
unregister them in the reverse order.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/core.c
net/netfilter/x_tables.c