]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: refactor matchall mirred action to separate function
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 29 Mar 2020 11:51:58 +0000 (14:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:44:00 +0000 (11:44 -0700)
commitebca328eb501ca749c49c81da6e7c05f9983ae0d
treef2f4da7a95886db2b481c6a196290a3e6e5cce12
parentcd7ab0c7556d41375fc518483b6c1b4f6003f1d5
net: dsa: refactor matchall mirred action to separate function

Make room for other actions for the matchall filter by keeping the
mirred argument parsing self-contained in its own function.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c