Re: [PATCH net] RDMA/nes: don't leak skb if carrier down

2016-04-28 Thread Doug Ledford
On 4/28/2016 2:20 PM, David Miller wrote: > From: Florian Westphal > Date: Sun, 24 Apr 2016 22:18:59 +0200 > >> Alternatively one could free the skb, OTOH I don't think this test is >> useful so just remove it. >> >> Cc: >> Signed-off-by: Florian Westphal >> --- >> Noticed this while working o

Re: [PATCH net] RDMA/nes: don't leak skb if carrier down

2016-04-28 Thread David Miller
From: Florian Westphal Date: Sun, 24 Apr 2016 22:18:59 +0200 > Alternatively one could free the skb, OTOH I don't think this test is > useful so just remove it. > > Cc: > Signed-off-by: Florian Westphal > --- > Noticed this while working on the TX_LOCKED removal. Assuming Doug will take this

[PATCH net] RDMA/nes: don't leak skb if carrier down

2016-04-24 Thread Florian Westphal
Alternatively one could free the skb, OTOH I don't think this test is useful so just remove it. Cc: Signed-off-by: Florian Westphal --- Noticed this while working on the TX_LOCKED removal. diff --git a/drivers/infiniband/hw/nes/nes_nic.c b/drivers/infiniband/hw/nes/nes_nic.c index 3ea9e05..92