]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Provide and reuse filter functions
authorLeon Romanovsky <leonro@mellanox.com>
Sat, 23 Feb 2019 09:15:28 +0000 (11:15 +0200)
committerDavid Ahern <dsahern@gmail.com>
Sun, 24 Feb 2019 15:09:24 +0000 (07:09 -0800)
commit78728b7ee0fe3ca449080095ac237e125a44dd27
tree963e0e34834197b053559ca4ed5d8acdb6259f6e
parent5a823593d65e946afe5d62f2146bed47fb145fa6
rdma: Provide and reuse filter functions

Globally replace all filter function in safer variants of those
is_filtered functions, which take into account the availability/lack
of netlink attributes.

Such conversion allowed to fix a number of places in the code, where
the previous implementation didn't honor filter requests if netlink
attribute wasn't present.

Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
rdma/rdma.h
rdma/res-cmid.c
rdma/res-cq.c
rdma/res-mr.c
rdma/res-pd.c
rdma/res-qp.c
rdma/utils.c