Dirk Morris
656c8e9cc1
netfilter: conntrack: Use consistent ct id hash calculation
...
Change ct id hash calculation to only use invariants.
Currently the ct id hash calculation is based on some fields that can
change in the lifetime on a conntrack entry in some corner cases. The
current hash uses the whole tuple which contains an hlist pointer which
will change when the conntrack is placed on the dying list resulting in
a ct id change.
This patch also removes the reply-side tuple and extension pointer from
the hash calculation so that the ct id will will not change from
initialization until confirmation.
Fixes: 3c79107631 ("netfilter: ctnetlink: don't use conntrack/expect object addresses as id")
Signed-off-by: Dirk Morris <[email protected] >
Acked-by: Florian Westphal <[email protected] >
Signed-off-by: Pablo Neira Ayuso <[email protected] >
2019-08-13 18:03:11 +02:00
..
6lowpan
6lowpan: no need to check return value of debugfs_create functions
2019-07-06 12:50:01 +02:00
9p
9p pull request for inclusion in 5.13
2019-07-12 17:31:19 -07:00
802
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
8021q
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-22 08:59:24 -04:00
appletalk
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372
2019-06-05 17:37:10 +02:00
atm
ax25
ax25: fix inconsistent lock state in ax25_destroy_timer
2019-06-16 14:22:37 -07:00
batman-adv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-07-08 19:48:57 -07:00
bluetooth
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2019-07-11 10:55:49 -07:00
bpf
bpfilter
Kbuild updates for v5.3
2019-07-12 16:03:16 -07:00
bridge
net: bridge: mcast: don't delete permanent entries when fast leave is enabled
2019-07-31 19:03:01 -04:00
caif
can
can: gw: Fix error path of cgw_module_init
2019-07-24 11:19:03 +02:00
ceph
Lots of exciting things this time!
2019-07-18 11:05:25 -07:00
core
net: fix ifindex collision during namespace removal
2019-07-29 11:07:04 -07:00
dcb
dccp
proc/sysctl: add shared variables for range check
2019-07-18 17:08:07 -07:00
decnet
dns_resolver
Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs"
2019-07-10 18:43:43 -07:00
dsa
net: flow_offload: add flow_block structure and use it
2019-07-19 21:27:45 -07:00
ethernet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-07 11:00:14 -07:00
hsr
hsr: switch ->dellink() to ->ndo_uninit()
2019-07-11 14:37:45 -07:00
ieee802154
inet: fix various use-after-free in defrags units
2019-06-19 11:37:47 -04:00
ife
ipv4
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
2019-07-25 17:35:03 -07:00
ipv6
ip6_tunnel: fix possible use-after-free on xmit
2019-07-26 14:17:44 -07:00
iucv
net/af_iucv: mark expected switch fall-throughs
2019-07-29 10:26:14 -07:00
kcm
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
key
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-07-08 19:48:57 -07:00
l2tp
compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
2019-07-30 14:42:13 -07:00
l3mdev
ipv6: convert major tx path to use RT6_LOOKUP_F_DST_NOREF
2019-06-23 13:24:17 -07:00
lapb
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-17 20:20:36 -07:00
llc
mac80211
Revert "mac80211: set NETIF_F_LLTX when using intermediate tx queues"
2019-07-30 14:52:50 +02:00
mac802154
mpls
proc/sysctl: add shared variables for range check
2019-07-18 17:08:07 -07:00
ncsi
netfilter
netfilter: conntrack: Use consistent ct id hash calculation
2019-08-13 18:03:11 +02:00
netlabel
netlink
net: remove empty netlink_tap_exit_net
2019-06-14 19:50:33 -07:00
netrom
netrom: hold sock when setting skb->destructor
2019-07-24 15:49:05 -07:00
nfc
nfc: fix potential illegal memory access
2019-07-08 12:46:24 -07:00
nsh
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
openvswitch
ovs: datapath: hide clang frame-overflow warnings
2019-07-24 15:45:11 -07:00
packet
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-27 21:06:39 -07:00
phonet
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336
2019-06-05 17:37:07 +02:00
psample
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
qrtr
rds
net: rds: Fix possible null-pointer dereferences in rds_rdma_cm_event_handler_cmn()
2019-07-27 13:58:12 -07:00
rfkill
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
2019-06-19 17:09:55 +02:00
rose
rxrpc
rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
2019-07-30 15:27:59 +01:00
sched
net: sched: Fix a possible null-pointer dereference in dequeue_func()
2019-07-29 09:46:58 -07:00
sctp
net: sctp: drop unneeded likely() call around IS_ERR()
2019-07-29 13:57:58 -07:00
smc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-27 21:06:39 -07:00
strparser
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-22 08:59:24 -04:00
sunrpc
Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2019-07-19 10:42:02 -07:00
switchdev
tipc
tipc: compat: allow tipc commands without arguments
2019-08-01 18:14:00 -04:00
tls
bpf: sockmap/tls, close can race with map free
2019-07-22 16:04:17 +02:00
unix
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-06-07 11:00:14 -07:00
vmw_vsock
hv_sock: Fix hang when a connection is closed
2019-08-02 17:26:27 -07:00
wimax
wireless
{nl,mac}80211: fix interface combinations on crypto controlled devices
2019-07-26 13:50:43 +02:00
x25
xdp
xdp: fix potential deadlock on socket mutex
2019-07-12 15:02:21 +02:00
xfrm
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2019-07-08 19:48:57 -07:00
compat.c
Kconfig
net: ipv4: move tcp_fastopen server side code to SipHash library
2019-06-17 13:56:26 -07:00
Makefile
socket.c
Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2019-07-19 10:42:02 -07:00
sysctl_net.c