aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2013-08-02 11:32:43 +0200
committerDavid S. Miller <[email protected]>2013-08-02 14:56:06 -0700
commit446266b0c742a2c9ee8f0dce759a0117bce58a86 (patch)
tree2ee287031900394357be6297c0729fcd49c196ee /lib/mpi/mpi-bit.c
parent9bb8eeb554795e6fac7cacf7af44bf413e75c9b9 (diff)
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 <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions