commit | 147fd2874d8a8ba69970f0069d67ac341bf0bb09 | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Thu Nov 24 23:39:59 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 27 19:58:04 2016 -0500 |
tree | 0d0d55274d2a959655b004d15ac5d39bbf0de179 | |
parent | d8e435f3ab6fea2ea324dce72b51dd7761747523 [diff] |
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>