Re: [PATCH net] bridge: check for null fdb->dst before notifying switchdev drivers

2017-08-27 Thread Arkadi Sharshevsky
On 08/27/2017 07:13 AM, Roopa Prabhu wrote: > From: Roopa Prabhu > > current switchdev drivers dont seem to support offloading fdb > entries pointing to the bridge device which have fdb->dst > not set to any port. This patch adds a NULL fdb->dst check in > the switchdev notifier code. > > This

[PATCH net] bridge: check for null fdb->dst before notifying switchdev drivers

2017-08-26 Thread Roopa Prabhu
From: Roopa Prabhu current switchdev drivers dont seem to support offloading fdb entries pointing to the bridge device which have fdb->dst not set to any port. This patch adds a NULL fdb->dst check in the switchdev notifier code. This patch fixes the below NULL ptr dereference: $bridge fdb add 0