OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:50:44 +0000 (14:50 +0100)
commitb626b8340ec81ea57188868bf342b9f530cbeabf
tree8bfee89fdcb862e5e4fe5ae832af93da475573c6
parent6f9917be25ca3135a8929ba1ea8276ce0d6dcc9a
RDMA/rxe: Consider skb reserve space based on netdev of GID

[ Upstream commit 3bf3e2b881c1412d0329ce9376dfe1518489b8fc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/sw/rxe/rxe_net.c