diff options
author | 2016-05-06 22:45:25 +0300 | |
---|---|---|
committer | 2016-05-13 19:40:01 -0400 | |
commit | 1ae5ccc78105490cd1f73bdf4847e7c6d03f0aa1 (patch) | |
tree | f7ec91aca1a3518cb305abcb803e8f7943b939e7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | IB/IWPM: Fix a potential skb leak (diff) | |
download | wireguard-linux-1ae5ccc78105490cd1f73bdf4847e7c6d03f0aa1.tar.xz wireguard-linux-1ae5ccc78105490cd1f73bdf4847e7c6d03f0aa1.zip |
IB/core: Remove unnecessary check in ibnl_rcv_msg
RDMA_NL_GET_OP is defined like this: (type & ((1 << 10) - 1))
which means op (defined as an int) can never be a negative number.
Fixes: b2cbae2c2487 ('RDMA: Add netlink infrastructure')
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions