commit | 27902f08065ba61514c331b7d6e85635c1655d82 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu May 18 15:34:41 2017 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu May 18 15:18:31 2017 -0400 |
tree | 8d332f01f8326329c31418ee6ac56043c68d7601 | |
parent | 74ed053d1c43f1476da82670f27536ddfcb75fdd [diff] |
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>