summaryrefslogtreecommitdiff
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-04-25 20:42:54 +0800
committerDavid S. Miller <davem@davemloft.net>2019-04-26 12:13:28 -0400
commit7b8f622e537aa87b52def78c37a8645d979fb7cc (patch)
tree3f9a26324cb4717476f4f9ac0149074d4119b0ad /crypto/lrw.c
parentfd85717d2800a352ce48799adcf7037b74df2854 (diff)
net: hns3: prevent double free in hns3_put_ring_config()
This patch adds a check for the hns3_put_ring_config() to prevent double free, and for more readable, move the NULL assignment of priv->ring_data into the hns3_put_ring_config(). Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/lrw.c')
0 files changed, 0 insertions, 0 deletions