]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: fsl-dpaa2/ethsw: check added_by_user flag
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 29 Jul 2019 16:11:51 +0000 (19:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Jul 2019 16:46:54 +0000 (18:46 +0200)
commite1e6a04d97cf747ccbec3ae23008c9faf8557aee
treecefa13e814f0dbf25c366b60d52e0e0e14aeb597
parentde01ac2e49d5b403c3edca17e7fb257060e5192c
staging: fsl-dpaa2/ethsw: check added_by_user flag

We do not want to offload FDB entries if not added by user as static
entries. Check the added_by_user flag and break if not set.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/1564416712-16946-5-git-send-email-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c