David Ahern
ed9acfe275
ipv4: Fix table id reference in fib_sync_down_addr
...
[ Upstream commit e0a312629fefa943534fc46f7bfbe6de3fdaf463 ]
Hendrik reported routes in the main table using source address are not
removed when the address is removed. The problem is that fib_sync_down_addr
does not account for devices in the default VRF which are associated
with the main table. Fix by updating the table id reference.
Fixes: 5a56a0b3a4 ("net: Don't delete routes in different VRFs")
Reported-by: Hendrik Donner <hd@os-cillation.de>
Signed-off-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-12 19:15:37 +01:00
..
netfilter
netfilter: nf_tables: fix mismatch in big-endian system
2019-02-20 10:18:34 +01:00
af_inet.c
gso_segment: Reset skb->mac_len after modifying network header
2018-09-29 03:07:32 -07:00
ah4.c
ipsec: check return value of skb_to_sgvec always
2018-04-13 19:48:31 +02:00
arp.c
arp: fix arp_filter on l3slave devices
2018-04-13 19:48:32 +02:00
cipso_ipv4.c
net: avoid use IPCB in cipso_v4_error
2019-03-13 14:04:54 -07:00
datagram.c
inet: stop leaking jiffies on the wire
2019-11-10 11:23:29 +01:00
devinet.c
ipv4: don't set IPv6 only flags to IPv4 addresses
2019-08-04 09:33:33 +02:00
esp4.c
ipsec: check return value of skb_to_sgvec always
2018-04-13 19:48:31 +02:00
fib_frontend.c
net: ipv4: Fix memory leak in network namespace dismantle
2019-01-31 08:12:33 +01:00
fib_lookup.h
fib_rules.c
switchdev: remove FIB offload infrastructure
2016-09-28 04:48:00 -04:00
fib_semantics.c
ipv4: Fix table id reference in fib_sync_down_addr
2019-11-12 19:15:37 +01:00
fib_trie.c
net: ipv4: Fix memory leak in network namespace dismantle
2019-01-31 08:12:33 +01:00
fou.c
net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
2019-04-27 09:34:40 +02:00
gre_demux.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-06-30 05:03:36 -04:00
gre_offload.c
gso: fix payload length when gso_size is zero
2017-11-18 11:22:20 +01:00
icmp.c
net: Add __icmp_send helper.
2019-03-13 14:04:53 -07:00
igmp.c
igmp: fix memory leak in igmpv3_del_delrec()
2019-08-04 09:33:33 +02:00
inet_connection_sock.c
tcp/dccp: remove reqsk_put() from inet_child_forget()
2019-03-19 13:14:10 +01:00
inet_diag.c
net: inet: diag: expose the socket mark to privileged processes.
2016-09-08 16:13:09 -07:00
inet_fragment.c
net: IP defrag: encapsulate rbtree defrag code into callable functions
2019-05-02 09:32:06 +02:00
inet_hashtables.c
soreuseport: fix initialization race
2017-11-18 11:22:22 +01:00
inet_timewait_sock.c
soreuseport: initialise timewait reuseport field
2018-05-16 10:08:41 +02:00
inetpeer.c
net: ipv4: use a dedicated counter for icmp_v4 redirect packets
2019-02-23 09:05:59 +01:00
ip_forward.c
ipv4: allow local fragmentation in ip_finish_output_gso()
2016-11-03 16:10:26 -04:00
ip_fragment.c
net: IP defrag: encapsulate rbtree defrag code into callable functions
2019-05-02 09:32:06 +02:00
ip_gre.c
net/ip_tunnels: Introduce tunnel_id_to_key32() and key32_to_tunnel_id()
2016-09-10 20:53:55 -07:00
ip_input.c
vrf: check accept_source_route on the original netdevice
2019-04-17 08:36:45 +02:00
ip_options.c
vrf: check accept_source_route on the original netdevice
2019-04-17 08:36:45 +02:00
ip_output.c
ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
2019-05-08 07:19:04 +02:00
ip_sockglue.c
ip: on queued skb use skb_header_pointer instead of pskb_may_pull
2019-01-23 08:10:54 +01:00
ip_tunnel.c
ip_tunnel: Fix name string concatenate in __ip_tunnel_create()
2018-12-08 13:05:05 +01:00
ip_tunnel_core.c
ip_tunnel: don't force DF when MTU is locked
2018-11-23 08:20:34 +01:00
ip_vti.c
vti4: ipip tunnel deregistration fixes.
2019-05-25 18:26:55 +02:00
ipcomp.c
ipconfig.c
ipconfig: Correctly initialise ic_nameservers
2018-08-03 07:55:24 +02:00
ipip.c
ipip: only increase err_count for some certain type icmp in ipip_err
2017-11-18 11:22:23 +01:00
ipmr.c
ipv4: Fix potential Spectre v1 vulnerability
2019-01-09 16:16:39 +01:00
Kconfig
tcp: Set DEFAULT_TCP_CONG to bbr if DEFAULT_BBR is set
2016-11-28 12:15:00 -05:00
Makefile
tcp_bbr: add BBR congestion control
2016-09-21 00:23:01 -04:00
netfilter.c
netfilter: use skb_to_full_sk in ip_route_me_harder
2017-07-05 14:40:28 +02:00
ping.c
ipv4: fix memory leaks in udp_sendmsg, ping_v4_sendmsg
2018-05-19 10:26:57 +02:00
proc.c
tcp: tcp_fragment() should apply sane memory limits
2019-06-17 19:53:32 +02:00
protocol.c
raw.c
ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
2019-07-10 09:55:41 +02:00
route.c
ipv4: Return -ENETUNREACH if we can't create route but saddr is valid
2019-10-29 09:15:13 +01:00
syncookies.c
tcp: handle inet_csk_reqsk_queue_add() failures
2019-03-19 13:14:09 +01:00
sysctl_net_ipv4.c
tcp: add tcp_min_snd_mss sysctl
2019-06-17 19:53:33 +02:00
tcp.c
tcp: Reset bytes_acked and bytes_received when disconnecting
2019-08-04 09:33:35 +02:00
tcp_bbr.c
tcp_bbr: fix bw probing to raise in-flight data for very small BDPs
2018-08-06 16:23:01 +02:00
tcp_bic.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_cdg.c
tcp: cdg: rename struct minmax in tcp_cdg.c to avoid a naming conflict
2016-09-21 00:22:59 -04:00
tcp_cong.c
tcp: disallow cwnd undo when switching congestion control
2017-06-14 15:05:52 +02:00
tcp_cubic.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_dctcp.c
tcp: Ensure DCTCP reacts to losses
2019-04-17 08:36:45 +02:00
tcp_diag.c
net: diag: Fix refcnt leak in error path destroying socket
2016-08-23 23:11:36 -07:00
tcp_fastopen.c
tcp: initialize max window for a new fastopen socket
2017-02-04 09:47:10 +01:00
tcp_highspeed.c
tcp_htcp.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_hybla.c
tcp_illinois.c
net/tcp/illinois: replace broken algorithm reference link
2018-05-30 07:50:33 +02:00
tcp_input.c
tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
2019-09-21 07:14:03 +02:00
tcp_ipv4.c
inet: stop leaking jiffies on the wire
2019-11-10 11:23:29 +01:00
tcp_lp.c
tcp: fix wraparound issue in tcp_lp
2017-05-14 14:00:21 +02:00
tcp_metrics.c
tcp: make nla_policy const
2016-09-01 14:09:01 -07:00
tcp_minisocks.c
tcp: do not restart timewait timer on rst reception
2018-09-15 09:42:56 +02:00
tcp_nv.c
tcp_nv: fix potential integer overflow in tcpnv_acked
2018-05-30 07:50:22 +02:00
tcp_offload.c
gso: validate gso_type in GSO handlers
2018-01-31 12:55:55 +01:00
tcp_output.c
tcp: inherit timestamp on mtu probe
2019-09-10 10:31:04 +01:00
tcp_probe.c
tcp: Revert "tcp: tcp_probe: use spin_lock_bh()"
2018-09-15 09:43:01 +02:00
tcp_rate.c
tcp: invalidate rate samples during SACK reneging
2018-01-02 20:35:13 +01:00
tcp_recovery.c
tcp_scalable.c
tcp_timer.c
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
2019-06-17 19:53:33 +02:00
tcp_vegas.c
tcp: fix under-evaluated ssthresh in TCP Vegas
2017-12-25 14:23:45 +01:00
tcp_vegas.h
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_veno.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_westwood.c
tcp: replace cnt & rtt with struct in pkts_acked()
2016-05-11 14:43:19 -04:00
tcp_yeah.c
tcp: cwnd does not increase in TCP YeAH
2016-09-08 17:16:12 -07:00
tunnel4.c
tunnels: correct conditional build of MPLS and IPv6
2016-07-11 13:27:06 -07:00
udp.c
bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
2019-07-10 09:55:42 +02:00
udp_diag.c
net: inet: diag: expose the socket mark to privileged processes.
2016-09-08 16:13:09 -07:00
udp_impl.h
udplite: call proper backlog handlers
2016-11-24 15:32:14 -05:00
udp_offload.c
gso: validate gso_type in GSO handlers
2018-01-31 12:55:55 +01:00
udp_tunnel.c
net: Remove deprecated tunnel specific UDP offload functions
2016-06-17 20:23:32 -07:00
udplite.c
udplite: call proper backlog handlers
2016-11-24 15:32:14 -05:00
xfrm4_input.c
xfrm4_mode_beet.c
xfrm4_mode_transport.c
xfrm4_mode_tunnel.c
xfrm4_output.c
xfrm4_policy.c
xfrm4: Fix uninitialized memory read in _decode_session4
2019-05-25 18:26:55 +02:00
xfrm4_protocol.c
xfrm4_state.c
xfrm4_tunnel.c