diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/ipcomp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ipcomp6.c b/net/ipv6/ipcomp6.c index d511a884dad0..6107592fbd8c 100644 --- a/net/ipv6/ipcomp6.c +++ b/net/ipv6/ipcomp6.c | |||
@@ -286,8 +286,8 @@ static void ipcomp6_free_scratches(void) | |||
286 | 286 | ||
287 | for_each_cpu(i) { | 287 | for_each_cpu(i) { |
288 | void *scratch = *per_cpu_ptr(scratches, i); | 288 | void *scratch = *per_cpu_ptr(scratches, i); |
289 | if (scratch) | 289 | |
290 | vfree(scratch); | 290 | vfree(scratch); |
291 | } | 291 | } |
292 | 292 | ||
293 | free_percpu(scratches); | 293 | free_percpu(scratches); |