ip: use ip_hdr() in __ip_make_skb() to retrieve IP header
authorAnsis Atteka <aatteka@nicira.com>
Wed, 18 Sep 2013 22:29:52 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Sep 2013 18:11:15 +0000 (14:11 -0400)
commit749154aa56b57652a282cbde57a57abc278d1205
treeacf1977fa73c95547c0c121ef13c6e1fc1d4e8ef
parent279f438e36c0a70b23b86d2090aeec50155034a9
ip: use ip_hdr() in __ip_make_skb() to retrieve IP header

skb->data already points to IP header, but for the sake of
consistency we can also use ip_hdr() to retrieve it.

Signed-off-by: Ansis Atteka <aatteka@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c