dccp: Evaluate ip_hdr() only once in dccp_v4_route_skb().
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 18:28:34 +0000 (13:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 18:28:34 +0000 (13:28 -0500)
commit898f73585bbe4bdbb471636ecdede071f7473e51
tree73a587dbc21e397737984808bfa9c8594f06210d
parentfa17a019c87e2ed25b653844f668f111ee059e56
dccp: Evaluate ip_hdr() only once in dccp_v4_route_skb().

This also works around a bogus gcc warning generated by an
upcoming patch from Eric Dumazet that rearranges the layout
of struct flowi4.

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