mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-24 12:17:26 +08:00
ipv4: Initialize cork->opt using NULL not 0.
Noticed by Joe Perches. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b80d72261a
commit
706527280e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user