RDMA/nes: don't leak skb if carrier down
authorFlorian Westphal <fw@strlen.de>
Sun, 24 Apr 2016 20:18:59 +0000 (22:18 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Apr 2016 01:11:09 +0000 (21:11 -0400)
commit4c8bb95921e9ac01b9dd0c3abbaf6514ce88af92
treef2cb426ec63496d0e96a7e81b65bb7649d3792c7
parente6bd18f57aad1a2d1ef40e646d03ed0f2515c9e3
RDMA/nes: don't leak skb if carrier down

Alternatively one could free the skb, OTOH I don't think this test is
useful so just remove it.

Cc: <linux-rdma@vger.kernel.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/nes/nes_nic.c