diff options
author | Gao Feng <fgao@ikuai8.com> | 2016-11-24 15:39:59 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-28 00:58:04 (GMT) |
commit | 147fd2874d8a8ba69970f0069d67ac341bf0bb09 (patch) | |
tree | 0d0d55274d2a959655b004d15ac5d39bbf0de179 /net | |
parent | d8e435f3ab6fea2ea324dce72b51dd7761747523 (diff) | |
download | linux-147fd2874d8a8ba69970f0069d67ac341bf0bb09.tar.xz |
driver: ipvlan: Fix one possible memleak in ipvlan_link_new
When ipvlan_link_new fails and creates one ipvlan port, it does not
destroy the ipvlan port created. It causes mem leak and the physical
device contains invalid ipvlan data.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions