diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-08-02 11:32:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-02 23:56:06 +0200 |
commit | 446266b0c742a2c9ee8f0dce759a0117bce58a86 (patch) | |
tree | 2ee287031900394357be6297c0729fcd49c196ee /drivers/hid/hid-debug.c | |
parent | r8169: remove "PHY reset until link up" log spam (diff) | |
download | linux-446266b0c742a2c9ee8f0dce759a0117bce58a86.tar.xz linux-446266b0c742a2c9ee8f0dce759a0117bce58a86.zip |
net: rtm_to_ifaddr: free ifa if ifa_cacheinfo processing fails
Commit 5c766d642 ("ipv4: introduce address lifetime") leaves the ifa
resource that was allocated via inet_alloc_ifa() unfreed when returning
the function with -EINVAL. Thus, free it first via inet_free_ifa().
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-debug.c')
0 files changed, 0 insertions, 0 deletions