History

netfilter: revert introduction of egress hook

This reverts the following commits: 8537f78647c0 ("netfilter: Introduce egress hook") 5418d3881e1f ("netfilter: Generalize ingress hook") b030f194aed2 ("netfilter: Rename ingress hook include file") >From the discussion in [0], the author's main motivation to add a hook in fast path is for an out of tree kernel module, which is a red flag to begin with. Other mentioned potential use cases like NAT{64,46} is on future extensions w/o concrete code in the tree yet. Revert as suggested [1] given the weak justification to add more hooks to critical fast-path. [0] https://lore.kernel.org/netdev/cover.1583927267.git.lukas@wunner.de/ [1] https://lore.kernel.org/netdev/20200318.011152.72770718915606186.davem@davemloft.net/

Daniel Borkmann committed 6 years ago

Commit 357b6cc1 parent ce7964b8 files · +68 −160Browse files

Showing the changes to include/uapi/linux (1 of 8 files). Show all

Unified · Split

include/uapi/linux/netfilter.h+0−1
@@ -50,7 +50,6 @@ enum nf_inet_hooks { · 49 unmodified lines
5050
5151 enum nf_dev_hooks {
5252 NF_NETDEV_INGRESS,
53− NF_NETDEV_EGRESS,
5453 NF_NETDEV_NUMHOOKS
5554 };
5655