netfilter: nf_log: handle NFPROTO_INET properly in nf_logger_[find_get|put]
authorLiping Zhang <liping.zhang@spreadtrum.com>
Wed, 8 Jun 2016 12:43:17 +0000 (20:43 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Jun 2016 11:24:42 +0000 (13:24 +0200)
commitf3bb53338e0965c3084c185020e821ac49015832
treed1315b580c6fdc46a8044132d904199a4ca42a2d
parenta6d0bae14858a43ab9d76d6332d7c3f2a618a6a2
netfilter: nf_log: handle NFPROTO_INET properly in nf_logger_[find_get|put]

When we request NFPROTO_INET, it means both NFPROTO_IPV4 and NFPROTO_IPV6.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_log.c
net/netfilter/nft_log.c