netfilter 04/09: x_tables: fix match/target revision lookup
authorPatrick McHardy <kaber@trash.net>
Mon, 12 Jan 2009 00:06:04 +0000 (00:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jan 2009 05:18:34 +0000 (21:18 -0800)
commit656caff20e12ba6e07b4bf342641df5ab33b4e49
tree67170a077bc0b4e5175afea32758ffd322df15f8
parent47e0e1ca13d64eeeb687995fbe4e239e743d7544
netfilter 04/09: x_tables: fix match/target revision lookup

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>
net/netfilter/x_tables.c