]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: x_tables: fix match/target revision lookup
authorPatrick McHardy <kaber@trash.net>
Mon, 19 Jan 2009 14:19:36 +0000 (15:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 25 Jan 2009 00:41:45 +0000 (16:41 -0800)
commitd15c2862bafa6e1e1446c6e7ed24ee1be6ccde4c
tree4bdbfbe8a79da460d2137806bf0e15c9b56a4f04
parent8f164d1c939180766da970c95f13c9cff11ab3a7
netfilter: x_tables: fix match/target revision lookup

Upstream commit 656caff:

Commit 55b69e91 (netfilter: implement NFPROTO_UNSPEC as a wildcard
for extensions) broke revision probing for matches and targets that
are registered with NFPROTO_UNSPEC.

Fix by continuing the search on the NFPROTO_UNSPEC list if nothing
is found on the af-specific lists.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/x_tables.c