linux_dsm_epyc7002/drivers/infiniband
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
..
core IB/uverbs: Introduce a MPLS steering match filter 2018-05-16 21:32:55 -06:00
hw RDMA/hns: Add 64KB page size support for hip08 2018-05-16 21:44:05 -06:00
sw IB/rxe: avoid calling WARN_ON_ONCE twice 2018-05-17 09:16:14 -06:00
ulp RDMA/ipoib: drop skb on path record lookup failure 2018-05-22 15:52:15 -04:00
Kconfig IB: make INFINIBAND_ADDR_TRANS configurable 2018-04-27 11:15:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00