]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/netlink: Simplify the put_msg and put_attr
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 18 Jun 2017 13:38:04 +0000 (16:38 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 10 Aug 2017 10:19:01 +0000 (13:19 +0300)
commitb2dd5cb4c945409ff3febc62ea21c74fefd99ad7
tree99a6e5f377899fed7f040660a232eb1dcdf23202
parentcf34364220eda0217bdd392549d6e3bb0c9e7356
RDMA/netlink: Simplify the put_msg and put_attr

Reuse standard macros to cancel the netlink message
in case of error.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
drivers/infiniband/core/netlink.c