]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd32de98ea70fe7cf606f3809f0970b31c115764b
tree198a323a34a3f12e43042c0a6fbd1aecc6280943
parent7b7744e2aa93864b2a490fb3533e9417d21cadc0
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