Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Noticed by Joe Perches.

Signed-off-by: David S. Miller <davem@davemloft.net>

+1 -1
+1 -1
net/ipv4/ip_output.c
··· 1419 1419 1420 1420 cork.flags = 0; 1421 1421 cork.addr = 0; 1422 - cork.opt = 0; 1422 + cork.opt = NULL; 1423 1423 err = ip_setup_cork(sk, &cork, ipc, rtp); 1424 1424 if (err) 1425 1425 return ERR_PTR(err);