-
- Downloads
Pablo Neira Ayuso says:
====================
Netfilter updates for net-next
The following patchset contains Netfilter updates for net-next.
Basically, more incremental updates for br_netfilter from Florian
Westphal, small nf_tables updates (including one fix for rb-tree
locking) and small two-liner to add extra validation for the REJECT6
target.
More specifically, they are:
1) Use the conntrack status flags from br_netfilter to know that DNAT is
happening. Patch for Florian Westphal.
2) nf_bridge->physoutdev == NULL already indicates that the traffic is
bridged, so let's get rid of the BRNF_BRIDGED flag. Also from Florian.
3) Another patch to prepare voidization of seq_printf/seq_puts/seq_putc,
from Joe Perches.
4) Consolidation of nf_tables_newtable() error path.
5) Kill nf_bridge_pad used by br_netfilter from ip_fragment(),
from Florian Westphal.
6) Access rb-tree root node inside the lock and remove unnecessary
locking from the get path (we already hold nfnl_lock there), from
Patrick McHardy.
7) You cannot use a NFT_SET_ELEM_INTERVAL_END when the set doesn't
support interval, also from Patrick.
8) Enforce IP6T_F_PROTO from ip6t_REJECT to make sure the core is
actually restricting matches to TCP.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/netfilter_bridge.h 0 additions, 29 deletionsinclude/linux/netfilter_bridge.h
- net/bridge/br_netfilter.c 39 additions, 9 deletionsnet/bridge/br_netfilter.c
- net/ipv4/ip_output.c 1 addition, 4 deletionsnet/ipv4/ip_output.c
- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c 3 additions, 1 deletionnet/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
- net/ipv6/netfilter/ip6t_REJECT.c 2 additions, 1 deletionnet/ipv6/netfilter/ip6t_REJECT.c
- net/netfilter/nf_conntrack_acct.c 5 additions, 3 deletionsnet/netfilter/nf_conntrack_acct.c
- net/netfilter/nf_conntrack_expect.c 3 additions, 1 deletionnet/netfilter/nf_conntrack_expect.c
- net/netfilter/nf_tables_api.c 14 additions, 9 deletionsnet/netfilter/nf_tables_api.c
- net/netfilter/nfnetlink_log.c 7 additions, 5 deletionsnet/netfilter/nfnetlink_log.c
- net/netfilter/nft_rbtree.c 2 additions, 4 deletionsnet/netfilter/nft_rbtree.c
- net/netfilter/xt_physdev.c 1 addition, 2 deletionsnet/netfilter/xt_physdev.c
Loading
Please register or sign in to comment