diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-05-18 17:34:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 21:18:31 +0200 |
commit | 27902f08065ba61514c331b7d6e85635c1655d82 (patch) | |
tree | 8d332f01f8326329c31418ee6ac56043c68d7601 /net/ipv6/udp.c | |
parent | qed: Remove unused including <linux/version.h> (diff) | |
download | linux-27902f08065ba61514c331b7d6e85635c1655d82.tar.xz linux-27902f08065ba61514c331b7d6e85635c1655d82.zip |
net/mlx5e: Fix possible memory leak
'encap_header' is malloced and should be freed before leaving from
the error handling cases, otherwise it will cause memory leak.
Fixes: 232c001398ae ("net/mlx5e: Add support to neighbour update flow")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions