summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-sunxi-nmi.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-06-26 01:03:41 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-28 00:05:58 +0300
commit7a5c938b9ed0985ea09b821b4b7f12b5e3d88d5d (patch)
tree7ad6c0170c1d414a8ad219465502afdbae08018d /drivers/irqchip/irq-sunxi-nmi.c
parent5e62d5ff1b9a6573d0d6b411893b1c17ccc21ce7 (diff)
downloadlinux-7a5c938b9ed0985ea09b821b4b7f12b5e3d88d5d.tar.xz
IB/core: Check for rdma_protocol_ib only after validating port_num
port_num is untrusted data from the user, so it should be checked after calling fill_sgid_attr, which validates it. Fixes: 8d9ec9addd6c ("IB/core: Add a sgid_attr pointer to struct rdma_ah_attr") Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/irqchip/irq-sunxi-nmi.c')
0 files changed, 0 insertions, 0 deletions