提交 70652728 编写于 作者: D David S. Miller

ipv4: Initialize cork->opt using NULL not 0.

Noticed by Joe Perches.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 b80d7226
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册