Jason A. Donenfeld
ca7a03c417
ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
...
Commit 7d9e5f4221 removed references from certain dsts, but accounting
for this never translated down into the fib6 suppression code. This bug
was triggered by WireGuard users who use wg-quick(8), which uses the
"suppress-prefix" directive to ip-rule(8) for routing all of their
internet traffic without routing loops. The test case added here
causes the reference underflow by causing packets to evaluate a suppress
rule.
Fixes: 7d9e5f4221 ("ipv6: convert major tx path to use RT6_LOOKUP_F_DST_NOREF")
Signed-off-by: Jason A. Donenfeld <[email protected] >
Acked-by: Wei Wang <[email protected] >
Signed-off-by: David S. Miller <[email protected] >
2019-09-26 09:34:25 +02:00
..
6lowpan
9p
802
8021q
appletalk
appletalk: enforce CAP_NET_RAW for raw sockets
2019-09-24 16:37:18 +02:00
atm
pppoatm: use %*ph to print small buffer
2019-09-05 12:33:28 +02:00
ax25
ax25: enforce CAP_NET_RAW for raw sockets
2019-09-24 16:37:18 +02:00
batman-adv
net: Fix Kconfig indentation
2019-09-26 08:56:17 +02:00
bluetooth
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
2019-09-18 12:34:53 -07:00
bpf
bpfilter
bridge
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2019-09-15 14:17:27 +02:00
caif
can
can: add support of SAE J1939 protocol
2019-09-04 14:22:33 +02:00
ceph
libceph: don't call crypto_free_sync_skcipher() on a NULL tfm
2019-08-28 12:33:46 +02:00
core
net: print proper warning on dst underflow
2019-09-26 09:05:56 +02:00
dcb
dccp
decnet
dns_resolver
dsa
Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net
2019-09-17 23:51:10 +02:00
ethernet
hsr
ieee802154
ieee802154: enforce CAP_NET_RAW for raw sockets
2019-09-24 16:37:18 +02:00
ife
net: Fix Kconfig indentation
2019-09-26 08:56:17 +02:00
ipv4
net: Fix Kconfig indentation
2019-09-26 08:56:17 +02:00
ipv6
ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
2019-09-26 09:34:25 +02:00
iucv
kcm
kcm: use BPF_PROG_RUN
2019-09-06 10:04:31 -07:00
key
l2tp
l3mdev
lapb
llc
mac80211
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2019-09-15 14:17:27 +02:00
mac802154
mpls
ipv4: mpls: fix mpls_xmit for iptunnel
2019-08-25 14:34:08 -07:00
ncsi
net/ncsi: Disable global multicast filter
2019-09-19 18:04:40 -07:00
netfilter
net: Fix Kconfig indentation
2019-09-26 08:56:17 +02:00
netlabel
netlabel: remove redundant assignment to pointer iter
2019-09-01 11:45:02 -07:00
netlink
netrom
nfc
nfc: enforce CAP_NET_RAW for raw sockets
2019-09-24 16:37:18 +02:00
nsh
openvswitch
openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
2019-09-26 09:32:33 +02:00
packet
net/packet: fix race in tpacket_snd()
2019-08-15 13:59:48 -07:00
phonet
psample
net: sched: take reference to psample group in flow_action infra
2019-09-16 09:18:03 +02:00
qrtr
net: qrtr: Stop rx_worker before freeing node
2019-09-21 18:45:46 -07:00
rds
net: Fix Kconfig indentation
2019-09-26 08:56:17 +02:00
rfkill
rose
rxrpc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2019-09-15 14:17:27 +02:00
sched
net/sched: cbs: Fix not adding cbs instance to list
2019-09-26 09:03:03 +02:00
sctp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2019-09-15 14:17:27 +02:00
smc
net/smc: make sure EPOLLOUT is raised
2019-08-20 12:25:14 -07:00
strparser
sunrpc
Merge branch 'work.mount-base' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2019-09-18 13:15:58 -07:00
switchdev
tipc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2019-09-15 14:17:27 +02:00
tls
net/tls: align non temporal copy to cache lines
2019-09-07 18:10:34 +02:00
unix
vmw_vsock
vsock/virtio: a better comment on credit update
2019-09-05 09:53:01 +02:00
wimax
wimax: no need to check return value of debugfs_create functions
2019-08-10 15:25:47 -07:00
wireless
We have a number of changes, but things are settling down:
2019-09-11 14:57:17 +01:00
x25
xdp
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2019-09-06 16:49:17 +02:00
xfrm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
2019-09-15 14:17:27 +02:00
compat.c
Kconfig
devlink: Add packet trap infrastructure
2019-08-17 12:40:08 -07:00
Makefile
socket.c
sysctl_net.c