projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b80d722
)
ipv4: Initialize cork->opt using NULL not 0.
author
David S. Miller
<davem@davemloft.net>
Fri, 6 May 2011 23:01:15 +0000
(16:01 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 6 May 2011 23:01:15 +0000
(16:01 -0700)
Noticed by Joe Perches.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ip_output.c
b/net/ipv4/ip_output.c
index 5f5fe4f742b9f3b24b891c9f8a40c7caab1a4c00..0a2f49a442e8373bad6e5c6919494c3b938aa1e2 100644
(file)
--- a/
net/ipv4/ip_output.c
+++ b/
net/ipv4/ip_output.c
@@
-1419,7
+1419,7
@@
struct sk_buff *ip_make_skb(struct sock *sk,
cork.flags = 0;
cork.addr = 0;
- cork.opt =
0
;
+ cork.opt =
NULL
;
err = ip_setup_cork(sk, &cork, ipc, rtp);
if (err)
return ERR_PTR(err);