projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netns: allow to dump netns ids
[cascardo/linux.git]
/
net
/
ipv4
/
inet_fragment.c
diff --git
a/net/ipv4/inet_fragment.c
b/net/ipv4/inet_fragment.c
index
e792035
..
5e346a0
100644
(file)
--- a/
net/ipv4/inet_fragment.c
+++ b/
net/ipv4/inet_fragment.c
@@
-385,7
+385,7
@@
static struct inet_frag_queue *inet_frag_alloc(struct netns_frags *nf,
}
q = kmem_cache_zalloc(f->frags_cachep, GFP_ATOMIC);
- if (
q == NULL
)
+ if (
!q
)
return NULL;
q->net = nf;
@@
-406,7
+406,7
@@
static struct inet_frag_queue *inet_frag_create(struct netns_frags *nf,
struct inet_frag_queue *q;
q = inet_frag_alloc(nf, f, arg);
- if (
q == NULL
)
+ if (
!q
)
return NULL;
return inet_frag_intern(nf, q, f, arg);