Subash Abhinov Kasiviswanathan
24416c2917
netfilter: Unlock xt_table later
...
This ensures that two concurrent writers through iptables-restore
cannot overwrite each other. Fixes the following-
<6> Unable to handle kernel paging request at
virtual address 006b6b6b6b6b6bc5
<6> [006b6b6b6b6b6bc5] address between user
and kernel address ranges
<2> pc : ipt_do_table+0x3b8/0x660
<2> lr : ipt_do_table+0x31c/0x660
<2> Call trace:
<2> ipt_do_table+0x3b8/0x660
<2> iptable_mangle_hook+0x58/0xf8
<2> nf_hook_slow+0x48/0xd8
<2> __ip_local_out+0xf4/0x138
<2> __ip_queue_xmit+0x348/0x3a0
<2> ip_queue_xmit+0x10/0x18
<2> __tcp_transmit_skb+0x734/0xaa8
<2> __tcp_retransmit_skb+0x5b8/0x930
<2> tcp_send_loss_probe+0x19c/0x300
<2> tcp_write_timer_handler+0x14c/0x238
<2> tcp_write_timer+0x74/0xa0
<2> call_timer_fn+0xc0/0x1c0
<2> run_timer_softirq+0x2f8/0xa30
<2> __do_softirq+0x1dc/0x384
This enforces the cleanup of the old entries under the xt_table lock.
CRs-fixed: 2612021
Change-Id: If721ceb7891e58847eae5c1ad9c5e9aea4c569e3
Signed-off-by: Subash Abhinov Kasiviswanathan <[email protected] >
2020-10-20 09:28:08 -07:00
..
ila
netfilter
netfilter: Unlock xt_table later
2020-10-20 09:28:08 -07:00
addrconf.c
This is the 5.4.32 stable release
2020-04-13 13:11:19 +02:00
addrconf_core.c
net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
2019-12-18 16:08:42 +01:00
addrlabel.c
af_inet6.c
This is the 5.4.5 stable release
2019-12-18 16:54:08 +01:00
ah6.c
anycast.c
ipv6: fix memory leaks on IPV6_ADDRFORM path
2020-08-11 15:33:39 +02:00
calipso.c
netlabel: cope with NULL catmap
2020-05-20 08:20:08 +02:00
datagram.c
net: Indicate whether a socket is a transparent socket
2020-04-13 12:06:23 -07:00
esp6.c
esp6_offload.c
esp6: get the right proto for transport mode in esp6_gso_encap
2020-06-03 08:21:35 +02:00
exthdrs.c
exthdrs_core.c
ipv6: remove printk
2019-07-27 14:23:48 -07:00
exthdrs_offload.c
fib6_notifier.c
fib6_rules.c
ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
2019-09-26 09:34:25 +02:00
fou6.c
icmp.c
ip: Fix SO_MARK in RST, ACK and ICMP packets
2020-07-22 09:32:50 +02:00
inet6_connection_sock.c
net: add bool confirm_neigh parameter for dst_ops.update_pmtu
2020-01-04 19:18:58 +01:00
inet6_hashtables.c
net: annotate accesses to sk->sk_incoming_cpu
2019-10-30 13:24:25 -07:00
ip6_checksum.c
ip6_fib.c
net: don't return invalid table id error when we fall back to PF_UNSPEC
2020-06-03 08:20:41 +02:00
ip6_flowlabel.c
ip6_gre.c
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
2020-07-31 18:39:30 +02:00
ip6_icmp.c
ip6_input.c
ipv6: drop incoming packets having a v4mapped source address
2019-10-03 11:40:21 -04:00
ip6_offload.c
ip6_offload.h
ip6_output.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
ip6_tunnel.c
net, ip6_tunnel: fix namespaces move
2020-01-29 16:45:20 +01:00
ip6_udp_tunnel.c
ip6_vti.c
vti6: Fix memory leak of skb if input policy check fails
2020-04-01 11:02:12 +02:00
ip6mr.c
net: don't return invalid table id error when we fall back to PF_UNSPEC
2020-06-03 08:20:41 +02:00
ipcomp6.c
ipv6_sockglue.c
ipv6: fix memory leaks on IPV6_ADDRFORM path
2020-08-11 15:33:39 +02:00
Kconfig
Makefile
mcast.c
mld: fix memory leak in ipv6_mc_destroy_dev()
2020-06-30 15:36:43 -04:00
mcast_snoop.c
mip6.c
ndisc.c
UPSTREAM: ipv6: ndisc: add support for 'PREF64' dns64 prefix identifier
2020-03-31 03:17:50 -07:00
netfilter.c
net: ensure correct skb->tstamp in various fragmenters
2019-10-18 10:02:37 -07:00
output_core.c
ping.c
ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
2019-09-12 11:20:33 +01:00
proc.c
protocol.c
raw.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
reassembly.c
inet: frags: re-introduce skb coalescing for local delivery
2019-08-08 15:55:10 -07:00
route.c
This is the 5.4.58 stable release
2020-08-11 18:37:58 +02:00
seg6.c
seg6_hmac.c
seg6_iptunnel.c
seg6_local.c
ipv6: sr: remove SKB_GSO_IPXIP6 on End.D* actions
2020-01-29 16:45:20 +01:00
sit.c
sit: do not confirm neighbor when do pmtu update
2020-01-04 19:19:04 +01:00
syncookies.c
net: ipv6: add net argument to ip6_dst_lookup_flow
2019-12-18 16:08:40 +01:00
sysctl_net_ipv6.c
tcp_ipv6.c
net: Indicate whether a socket is a transparent socket
2020-04-13 12:06:23 -07:00
tcpv6_offload.c
tunnel6.c
udp.c
udp: Improve load balancing for SO_REUSEPORT.
2020-07-31 18:39:31 +02:00
udp_impl.h
udp_offload.c
UPSTREAM: udp: Support UDP fraglist GRO/GSO.
2020-09-09 08:48:03 +00:00
udplite.c
xfrm6_input.c
xfrm6_output.c
xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
2020-04-29 16:33:11 +02:00
xfrm6_policy.c
net: add bool confirm_neigh parameter for dst_ops.update_pmtu
2020-01-04 19:18:58 +01:00
xfrm6_protocol.c
xfrm6_state.c
xfrm6_tunnel.c