diff options
author | Robb Manes <rmanes@redhat.com> | 2015-09-29 11:03:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 21:14:01 -0700 |
commit | 23860f103b53e764a3cbbf615d08f88362a28295 (patch) | |
tree | 053317bd0077afb798f3b694c2ac0e416a5b774b /Documentation/ptp | |
parent | c047a1f918af75e572a19ba0581c3e3e202ed698 (diff) | |
download | blackbird-op-linux-23860f103b53e764a3cbbf615d08f88362a28295.tar.gz blackbird-op-linux-23860f103b53e764a3cbbf615d08f88362a28295.zip |
net/mlx4: Handle return codes in mlx4_qp_attach_common
Both new_steering_entry() and existing_steering_entry() return values
based on their success or failure, but currently they fall through
silently. This can make troubleshooting difficult, as we were unable
to tell which one of these two functions returned errors or
specifically what code was returned. This patch remedies that
situation by passing the return codes to err, which is returned by
mlx4_qp_attach_common() itself.
This also addresses a leak in the call to mlx4_bitmap_free() as well.
Signed-off-by: Robb Manes <rmanes@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/ptp')
0 files changed, 0 insertions, 0 deletions