Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129720
b: refs/heads/master
c: cd7fcbf
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Jan 13, 2009
1 parent 987e1ac commit 15c0741
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71320afcdb33b3f0b754ba1fac6a8c77aa469041
refs/heads/master: cd7fcbf1cb6933bfb9171452b4a370c92923544d
4 changes: 2 additions & 2 deletions trunk/net/netfilter/nf_conntrack_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ struct nf_conn *nf_conntrack_alloc(struct net *net,
const struct nf_conntrack_tuple *repl,
gfp_t gfp)
{
struct nf_conn *ct = NULL;
struct nf_conn *ct;

if (unlikely(!nf_conntrack_hash_rnd_initted)) {
get_random_bytes(&nf_conntrack_hash_rnd, 4);
Expand Down Expand Up @@ -551,7 +551,7 @@ init_conntrack(struct net *net,
}

ct = nf_conntrack_alloc(net, tuple, &repl_tuple, GFP_ATOMIC);
if (ct == NULL || IS_ERR(ct)) {
if (IS_ERR(ct)) {
pr_debug("Can't allocate conntrack.\n");
return (struct nf_conntrack_tuple_hash *)ct;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/netfilter/nf_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ ctnetlink_create_conntrack(struct nlattr *cda[],
struct nf_conntrack_helper *helper;

ct = nf_conntrack_alloc(&init_net, otuple, rtuple, GFP_ATOMIC);
if (ct == NULL || IS_ERR(ct))
if (IS_ERR(ct))
return -ENOMEM;

if (!cda[CTA_TIMEOUT])
Expand Down

0 comments on commit 15c0741

Please sign in to comment.