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/
Showing the changes to include/uapi/linux (1 of 8 files). Show all
Unified · Split
| @@ -50,7 +50,6 @@ enum nf_inet_hooks { · 49 unmodified lines | |||
| 50 | 50 | ||
| 51 | enum nf_dev_hooks { | 51 | enum nf_dev_hooks { |
| 52 | NF_NETDEV_INGRESS, | 52 | NF_NETDEV_INGRESS, |
| 53 | NF_NETDEV_EGRESS, | ||
| 54 | NF_NETDEV_NUMHOOKS | 53 | NF_NETDEV_NUMHOOKS |
| 55 | }; | 54 | }; |
| 56 | 55 | ||