diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-03-12 14:30:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-12 15:52:30 -0700 |
commit | 8a765471a65ebc81d8905c94648f3143e720cdec (patch) | |
tree | 96a1c65421825f8c58a42641c6ee2ddced2f47e2 /net | |
parent | 0f70eedc0f770af21571eff340bf388a1b4f3744 (diff) | |
download | linux-8a765471a65ebc81d8905c94648f3143e720cdec.tar.gz linux-8a765471a65ebc81d8905c94648f3143e720cdec.tar.bz2 linux-8a765471a65ebc81d8905c94648f3143e720cdec.zip |
octeontx2-pf: unlock on error path in otx2_config_pause_frm()
We need to unlock before returning if this allocation fails.
Fixes: 75f36270990c ("octeontx2-pf: Support to enable/disable pause frames via ethtool")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions