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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 22:42:47 +0000 (15:42 -0700)
commit832ae42a43dd7ea2a39d7cc0687363d0039da850
tree840afb1d004cfe470723a78da32fb26f9522285a
parent3c5bd142cbe6ca27b0e55451a4c37c703bc6ff66
ip: use ip_hdr() in __ip_make_skb() to retrieve IP header

[ Upstream commit 749154aa56b57652a282cbde57a57abc278d1205 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ip_output.c