aboutsummaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorEvgenii Smirnov <[email protected]>2018-05-22 16:00:47 +0200
committerDoug Ledford <[email protected]>2018-05-22 15:52:15 -0400
commit15517080c5418831012fdfb89c761fa1d055f440 (patch)
treeaf4a0b6dab66fbd0e358ccb78faf85f785bcb407 /lib/parser.c
parentfa9391dbad4b868512ed22a7e41765f881a8a935 (diff)
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 <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions