]> git.baikalelectronics.ru Git - kernel.git/commit
rocker: add missing init_net check in FIB notifier
authorJiri Pirko <jiri@mellanox.com>
Wed, 4 Sep 2019 07:40:47 +0000 (09:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 10:14:10 +0000 (12:14 +0200)
commitcfb2a9d6df7ffebc94c624a8945ab0f922b103f5
treef87318909792045094c56ce9a5b2e471079b622c
parentbc7ae37a5156620d8418773645b1b980083d7525
rocker: add missing init_net check in FIB notifier

Take only FIB events that are happening in init_net into account. No other
namespaces are supported.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker_main.c