diff options
-rw-r--r-- | net/netfilter/xt_connlimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_connlimit.c b/net/netfilter/xt_connlimit.c index 1f4b9f9da496..ade2a806a48e 100644 --- a/net/netfilter/xt_connlimit.c +++ b/net/netfilter/xt_connlimit.c | |||
@@ -162,7 +162,7 @@ static int count_them(struct net *net, | |||
162 | 162 | ||
163 | if (addit) { | 163 | if (addit) { |
164 | /* save the new connection in our list */ | 164 | /* save the new connection in our list */ |
165 | conn = kzalloc(sizeof(*conn), GFP_ATOMIC); | 165 | conn = kmalloc(sizeof(*conn), GFP_ATOMIC); |
166 | if (conn == NULL) | 166 | if (conn == NULL) |
167 | return -ENOMEM; | 167 | return -ENOMEM; |
168 | conn->tuple = *tuple; | 168 | conn->tuple = *tuple; |