Re: [PATCH net] net/smc: fix ethernet interface refcounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Karsten Graul <kgraul@xxxxxxxxxxxxx>
Date: Wed,  6 Nov 2019 10:49:57 +0100

> From: Ursula Braun <ubraun@xxxxxxxxxxxxx>
> 
> If a pnet table entry is to be added mentioning a valid ethernet
> interface, but an invalid infiniband or ISM device, the dev_put()
> operation for the ethernet interface is called twice, resulting
> in a negative refcount for the ethernet interface, which disables
> removal of such a network interface.
> 
> This patch removes one of the dev_put() calls.
> 
> Fixes: 890a2cb4a966 ("net/smc: rework pnet table")
> Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxx>
> Signed-off-by: Karsten Graul <kgraul@xxxxxxxxxxxxx>

Applied and queued up for -stable, thanks.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux