Commit 70652728 authored by David S. Miller's avatar David S. Miller

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

Noticed by Joe Perches.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment