aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/iwpm_util.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-06-08 09:05:12 +0300
committerLeon Romanovsky <leon@kernel.org>2017-08-10 13:15:42 +0300
commit3c3e75d5ff75f9a076cac254fd32476ca80fdffc (patch)
tree357ac5b8943cda31ce53e0d29e576dc4029ec4f4 /drivers/infiniband/core/iwpm_util.c
parentRDMA/netlink: Remove redundant owner option for netlink callbacks (diff)
downloadlinux-dev-3c3e75d5ff75f9a076cac254fd32476ca80fdffc.tar.xz
linux-dev-3c3e75d5ff75f9a076cac254fd32476ca80fdffc.zip
RDMA/netlink: Avoid double pass for RDMA netlink messages
The standard netlink_rcv_skb function skips messages without NLM_F_REQUEST flag in it, while SA netlink client issues them. In commit bc10ed7d3d19 ("IB/core: Add rdma netlink helper functions") the local function was introduced to allow such messages. This led to double pass for every incoming message. In this patch, we unify that local implementation and netlink_rcv_skb functions, so there will be no need for double pass anymore. As a outcome, this combined function gained more strict check for NLM_F_REQUEST flag and it is now allowed for SA pathquery client only. Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/iwpm_util.c')
0 files changed, 0 insertions, 0 deletions