Pablo Neira Ayuso 0d7308c0ff 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>
2021-10-14 23:06:44 +02:00
..
2021-09-05 08:36:44 +09:00
2021-08-03 11:21:39 +01:00
2021-09-03 15:33:47 -07:00
2021-10-02 14:18:25 +01:00
2021-08-05 13:27:50 +01:00
2021-06-30 15:51:09 -07:00
2021-10-14 23:06:28 +02:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-08-05 13:27:50 +01:00
2021-10-03 14:35:41 +01:00
2021-10-14 23:06:44 +02:00
2021-09-08 15:55:42 -07:00
2021-09-28 13:26:23 +01:00
2021-06-03 15:13:56 -07:00
2021-07-29 15:06:49 +01:00
2021-08-31 16:43:06 -07:00