From: Colin King
Date: Thu, 11 Aug 2016 18:17:22 +0100
> From: Colin Ian King
>
> Currently, if calipso_genopt fails then the error exit path
> does not free the ipv6_opt_hdr new causing a memory leak. Fix
> this by kfree'ing new on the error exit path.
>
> Signed-off-by: Colin Ian King
Appl
From: Colin Ian King
Currently, if calipso_genopt fails then the error exit path
does not free the ipv6_opt_hdr new causing a memory leak. Fix
this by kfree'ing new on the error exit path.
Signed-off-by: Colin Ian King
---
net/ipv6/calipso.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletio