linux_dsm_epyc7002/drivers/infiniband/ulp/ipoib
Evgenii Smirnov 15517080c5 RDMA/ipoib: drop skb on path record lookup failure
In unicast_arp_send function there is an inconsistency in error handling
of path_rec_start call. If path_rec_start is called because of an absent
ah field, skb will be dropped. But if it is called on a creation of a
new path, or if the path is invalid, skb will be added to the tail of
path queue.  In case of a new path it will be dropped on path_free, but
in case of invalid path it can stay in the queue forever.

This patch unifies the behavior, dropping skb in all cases
of path_rec_start failure.

Signed-off-by: Evgenii Smirnov <evgenii.smirnov@profitbricks.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-05-22 15:52:15 -04:00
..
ipoib_cm.c Linux 4.15 2018-01-30 09:30:00 -07: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/ipoib: Do not warn if IPoIB debugfs doesn't exist 2018-02-15 14:59:43 -07:00
ipoib_ib.c IB/{core, ipoib}: Simplify ib_find_gid() for unused ndev 2018-03-15 14:40:37 -06:00
ipoib_main.c RDMA/ipoib: drop skb on path record lookup failure 2018-05-22 15:52:15 -04:00
ipoib_multicast.c IB/ipoib: replace local_irq_disable() with proper locking 2018-05-16 21:42:06 -06: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: Replace printk with pr_warn 2017-12-11 16:19:43 -07: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 RDMA/ipoib: Update paths on CLIENT_REREG/SM_CHANGE events 2018-05-22 13:16:05 -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