linux/drivers/infiniband/ulp
Nicolas Dichtel f15ca723c1 net: don't call update_pmtu unconditionally
Some dst_ops (e.g. md_dst_ops)) doesn't set this handler. It may result to:
"BUG: unable to handle kernel NULL pointer dereference at           (null)"

Let's add a helper to check if update_pmtu is available before calling it.

Fixes: 52a589d51f ("geneve: update skb dst pmtu on tx path")
Fixes: a93bf0ff44 ("vxlan: update skb dst pmtu on tx path")
CC: Roman Kapl <code@rkapl.cz>
CC: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-25 16:27:34 -05:00
..
ipoib net: don't call update_pmtu unconditionally 2018-01-25 16:27:34 -05:00
iser Merge branch 'for-next-early' into for-next 2017-10-18 13:07:13 -04:00
isert iser-target: Fix possible use-after-free in connection establishment error 2018-01-10 16:46:03 -05:00
opa_vnic IB/opa_vnic: Add routing control information 2017-09-27 11:21:57 -04:00
srp IB/srp: Make CM timeout dependent on subnet timeout 2017-10-18 10:49:54 -04:00
srpt IB/srpt: Fix ACL lookup during login 2018-01-03 20:07:51 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00