linux_dsm_epyc7002/drivers/infiniband/ulp/ipoib
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_cm.c net: don't call update_pmtu unconditionally 2018-01-25 16:27:34 -05:00
ipoib_ethtool.c RDMA/core: Rename kernel modify_cq to better describe its usage 2017-11-13 16:59:22 -05:00
ipoib_fs.c IB/SA: Add OPA path record type 2017-05-01 14:39:02 -04:00
ipoib_ib.c IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush 2017-12-21 16:06:07 -07:00
ipoib_main.c IB/ipoib: Fix race condition in neigh creation 2018-01-02 11:09:05 -07:00
ipoib_multicast.c IB/ipoib: Fix race condition in neigh creation 2018-01-02 11:09:05 -07:00
ipoib_netlink.c net: add netlink_ext_ack argument to rtnl_link_ops.changelink 2017-06-26 23:13:22 -04:00
ipoib_verbs.c IB/ipoib: Use NAPI in UD/TX flows 2017-10-25 13:36:50 -04:00
ipoib_vlan.c IB/ipoib: Fix inconsistency with free_netdev and free_rdma_netdev 2017-09-25 11:47:24 -04:00
ipoib.h IB/ipoib: Change number of TX wqe to 64 2017-10-25 13:36:50 -04:00
Kconfig kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00