]> git.proxmox.com Git - mirror_iproute2.git/commit
rdma: Unify netlink attribute checks prior to prints
authorLeon Romanovsky <leonro@mellanox.com>
Sat, 23 Feb 2019 09:15:26 +0000 (11:15 +0200)
committerDavid Ahern <dsahern@gmail.com>
Sun, 24 Feb 2019 15:09:09 +0000 (07:09 -0800)
commit127ff95610636aaff24e22b5b0909f16bb5cd2dd
tree7d022bca2b4b9183ba535bf78eeef1e0438d3d85
parent6da9d2517c56bea101050d9ffb062866c9bbd385
rdma: Unify netlink attribute checks prior to prints

Place check if netlink attribute available in general place,
instead of doing the same check in many paces.

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