Re: [PATCH net v2] rtnetlink: Disallow FDB configuration for non-Ethernet device

2018-10-29 Thread David Miller
From: Ido Schimmel Date: Mon, 29 Oct 2018 20:36:43 + > When an FDB entry is configured, the address is validated to have the > length of an Ethernet address, but the device for which the address is > configured can be of any type. > > The above can result in the use of uninitialized memory

Re: [PATCH net v2] rtnetlink: Disallow FDB configuration for non-Ethernet device

2018-10-29 Thread David Ahern
On 10/29/18 2:36 PM, Ido Schimmel wrote: > When an FDB entry is configured, the address is validated to have the > length of an Ethernet address, but the device for which the address is > configured can be of any type. > > The above can result in the use of uninitialized memory when the address >

[PATCH net v2] rtnetlink: Disallow FDB configuration for non-Ethernet device

2018-10-29 Thread Ido Schimmel
When an FDB entry is configured, the address is validated to have the length of an Ethernet address, but the device for which the address is configured can be of any type. The above can result in the use of uninitialized memory when the address is later compared against existing addresses since