commit | 3f6f7a175ad4cf9a6a3dda72d7f5d122107f4b9e | [log] [tgz] |
---|---|---|
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | Thu May 23 10:47:24 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu May 23 09:13:00 2019 -0700 |
tree | 55f3e4df7882e345f46b09dd64505df923b7a005 | |
parent | 903869bd10e6719b9df6718e785be7ec725df59f [diff] |
net: mvpp2: cls: Fix leaked ethtool_rx_flow_rule The flow_rule is only used when configuring the classification tables, and should be free'd once we're done using it. The current code only frees it in the error path. Fixes: 90b509b39ac9 ("net: mvpp2: cls: Add Classification offload support") Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>