Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 15517080 authored by Evgenii Smirnov's avatar Evgenii Smirnov Committed by Doug Ledford
Browse files

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: default avatarEvgenii Smirnov <evgenii.smirnov@profitbricks.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent fa9391db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment