]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: tag_sja1105: fix zeroization of ds->priv on tag proto disconnect
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 14 Dec 2021 01:45:34 +0000 (03:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2021 12:45:15 +0000 (12:45 +0000)
commit6cbeebb3a692974eb2c0a1de03558eee12701251
tree977f2a438106e84a8fa99d0856cb90be8e85db80
parent54091972287ec4c448eb66116e9e6cec3ff8d756
net: dsa: tag_sja1105: fix zeroization of ds->priv on tag proto disconnect

The method was meant to zeroize ds->tagger_data but got the wrong
pointer. Fix this.

Fixes: 40675362e2e5 ("net: dsa: tag_sja1105: convert to tagger-owned data")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_sja1105.c