diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-08 22:06:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-10-14 23:06:44 +0200 |
commit | 0d7308c0ff5fa7c77164ab8491a91e0589da66e3 (patch) | |
tree | f2109eb0066f5fffae3ef82b5f9cb175df338c3e /net/ipv4 | |
parent | 42df6e1d221dddc0f2acf2be37e68d553ad65f96 (diff) | |
download | linux-0d7308c0ff5fa7c77164ab8491a91e0589da66e3.tar.gz |
af_packet: Introduce egress hook
Add egress hook for AF_PACKET sockets that have the PACKET_QDISC_BYPASS socket option set to on, which allows packets to escape without being filtered in the egress path. This patch only updates the AF_PACKET path, it does not update dev_direct_xmit() so the XDP infrastructure has a chance to bypass Netfilter. [lukas: acquire rcu_read_lock, fix typos, rebase] Signed-off-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions