]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Mon, 14 Oct 2013 01:14:25 +0000 (18:14 -0700)
commitb55876a61f91eb73dcbf3eae25923f13f12eb5ab
tree965def69c5fe5887a0728b74dce0b1a3e40d94fd
parent5ebe03a86dc7a7837b7451c4190c276356ff6de1
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