Re: [bug report] net: vlan: Avoid using BUG() in vlan_proto_idx()

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

 





On 9/29/2020 2:28 AM, Dan Carpenter wrote:
Hello Florian Fainelli,

The patch d0186842ec5f: "net: vlan: Avoid using BUG() in
vlan_proto_idx()" from Sep 24, 2020, leads to the following static
checker warning:

	net/8021q/vlan.c:60 vlan_group_prealloc_vid()
	warn: unsigned 'pidx' is never less than zero.

Fixed with:

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=0675c285ea65540cccae64c87dfc7a00c7ede03a

Thanks
--
Florian



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux