]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_fwd_netdev: allow to forward packets via neighbour layer
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 30 May 2018 23:58:00 +0000 (01:58 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Jun 2018 08:35:47 +0000 (10:35 +0200)
commit684ed0c3434a0872a7383b49bb4eadbeb4fbe48e
tree198a323a34a3f12e43042c0a6fbd1aecc6280943
parent9d71f414d685e5589e00c1a6057f7682637ee0eb
netfilter: nft_fwd_netdev: allow to forward packets via neighbour layer

This allows us to forward packets from the netdev family via neighbour
layer, so you don't need an explicit link-layer destination when using
this expression from rules. The ttl/hop_limit field is decremented.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
net/netfilter/nft_fwd_netdev.c