]> 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)
commit8ac2b849c2d300e30081c1f2540b3108dbfd26e3
tree73a587dbc21e397737984808bfa9c8594f06210d
parent03ab2901440c12b0a0be54ea21dd89f321ec41c6
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