]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2561df601e8423c53bd5dbe18d9668a376b0f482
tree73a587dbc21e397737984808bfa9c8594f06210d
parent80047627c5b069b053546f04e4807756e179c96f
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