projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPV6]: Nearly complete kzalloc cleanup for net/ipv6
[deliverable/linux.git]
/
net
/
ipv6
/
esp6.c
diff --git
a/net/ipv6/esp6.c
b/net/ipv6/esp6.c
index aa7f100dab35e74a828531359458b5ec2eaf29b9..3dcaac7a097238c599793b32380e410a420c6874 100644
(file)
--- a/
net/ipv6/esp6.c
+++ b/
net/ipv6/esp6.c
@@
-305,12
+305,10
@@
static int esp6_init_state(struct xfrm_state *x)
if (x->encap)
goto error;
- esp = k
m
alloc(sizeof(*esp), GFP_KERNEL);
+ esp = k
z
alloc(sizeof(*esp), GFP_KERNEL);
if (esp == NULL)
return -ENOMEM;
- memset(esp, 0, sizeof(*esp));
-
if (x->aalg) {
struct xfrm_algo_desc *aalg_desc;
This page took
0.025399 seconds
and
5
git commands to generate.