OSDN Git Service

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)
commite13c2075280e5b25118d3330752b47f919d6545e
treef2f4da7a95886db2b481c6a196290a3e6e5cce12
parentc9a7fe1238e5fb3d26cb541a12083f2e1f3b2356
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