RDMA/rxe: Consider skb reserve space based on netdev of GID
authorParav Pandit <parav@mellanox.com>
Thu, 2 May 2019 07:48:01 +0000 (10:48 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 3 May 2019 14:10:02 +0000 (11:10 -0300)
commit3bf3e2b881c1412d0329ce9376dfe1518489b8fc
treeb08633b38f37f6f8b68f0d66191d653681534090
parentdd05cb828d0ebecd3d772075fccb85ec3618bedf
RDMA/rxe: Consider skb reserve space based on netdev of GID

Always consider the skb reserve space based on netdevice of the GID
attribute, regardless of vlan or non vlan netdevice.

Fixes: 43c9fc509fa5 ("rdma_rxe: make rxe work over 802.1q VLAN devices")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_net.c