netfilter: x_tables: fix match/target revision lookup
commitd15c2862bafa6e1e1446c6e7ed24ee1be6ccde4c
authorPatrick McHardy <kaber@trash.net>
Mon, 19 Jan 2009 14:19:36 +0000 (19 15:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 25 Jan 2009 00:41:45 +0000 (24 16:41 -0800)
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