aboutsummaryrefslogtreecommitdiff
path: root/kernel/async.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>2018-07-27 18:15:46 +0200
committerMoyster <oysterized@gmail.com>2019-05-03 19:24:03 +0200
commit777903ecdb6e9cc95e2cb80da3e78b6d6a272e30 (patch)
tree10807d456b22b2f168a1b57c5fbce84ec227ce40 /kernel/async.c
parentc04ea3875ef8bf7059a874ffa13bb58eff6d2832 (diff)
ipv4: remove BUG_ON() from fib_compute_spec_dst
commit 9fc12023d6f51551d6ca9ed7e02ecc19d79caf17 upstream. Remove BUG_ON() from fib_compute_spec_dst routine and check in_dev pointer during flowi4 data structure initialization. fib_compute_spec_dst routine can be run concurrently with device removal where ip_ptr net_device pointer is set to NULL. This can happen if userspace enables pkt info on UDP rx socket and the device is removed while traffic is flowing Fixes: 35ebf65e851c ("ipv4: Create and use fib_compute_spec_dst() helper") Change-Id: I468e64e5421758bc7e581a9d0ce0800ee1b034b7 Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions