ipv4: Always call ip_options_build() after rest of IP header is filled in.
commit22f728f8f311659b068e73ed92833c205651a47f
authorDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 21:21:27 +0000 (13 17:21 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 21:21:27 +0000 (13 17:21 -0400)
treecab06ba8b08c8c88a021d597c031c1ef24fae732
parent0374d9ceb02eb12fcd65be9dd5df9c911ef93424
ipv4: Always call ip_options_build() after rest of IP header is filled in.

This will allow ip_options_build() to reliably look at the values of
iph->{daddr,saddr}

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c