commit | 706527280ec38fcdcd0466f10b607105fd23801b | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Fri May 06 16:01:15 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 06 16:01:15 2011 -0700 |
tree | 96b1b0c20d214d87fd9d93b9b4c3d8645183705a | |
parent | b80d72261aec5e763a76497eba5fddc84833a154 [diff] [blame] |
ipv4: Initialize cork->opt using NULL not 0. Noticed by Joe Perches. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 5f5fe4f..0a2f49a 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c
@@ -1419,7 +1419,7 @@ 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);