netfilter: nfnetlink_log: add support for VLAN information
authorMichael Braun <michael-dev@fami-braun.de>
Tue, 20 Aug 2019 13:11:46 +0000 (15:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Aug 2019 09:06:07 +0000 (11:06 +0200)
commit65af4a10743b766e319fb53812c5926c6d98b100
treebb1a319fb4176142038071802322ff30f5bf3979
parent63d10e12b00dfc8d8387bea9eaab376881335731
netfilter: nfnetlink_log: add support for VLAN information

Currently, there is no vlan information (e.g. when used with a vlan aware
bridge) passed to userspache, HWHEADER will contain an 08 00 (ip) suffix
even for tagged ip packets.

Therefore, add an extra netlink attribute that passes the vlan information
to userspace similarly to 15824ab29f for nfqueue.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
Reviewed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nfnetlink_log.h
net/netfilter/nfnetlink_log.c