This is a note to let you know that I've just added the patch titled ip: use ip_hdr() in __ip_make_skb() to retrieve IP header to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: ip-use-ip_hdr-in-__ip_make_skb-to-retrieve-ip-header.patch and it can be found in the queue-3.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From a1ad1a8a9289e0f8bdc884b2c5ea48f544290d2a Mon Sep 17 00:00:00 2001 From: Ansis Atteka <aatteka@xxxxxxxxxx> Date: Wed, 18 Sep 2013 15:29:52 -0700 Subject: ip: use ip_hdr() in __ip_make_skb() to retrieve IP header From: Ansis Atteka <aatteka@xxxxxxxxxx> [ 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@xxxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- net/ipv4/ip_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -1342,7 +1342,7 @@ struct sk_buff *__ip_make_skb(struct soc else ttl = ip_select_ttl(inet, &rt->dst); - iph = (struct iphdr *)skb->data; + iph = ip_hdr(skb); iph->version = 4; iph->ihl = 5; iph->tos = inet->tos; Patches currently in stable-queue which might be from aatteka@xxxxxxxxxx are queue-3.4/ip-generate-unique-ip-identificator-if-local-fragmentation-is-allowed.patch queue-3.4/ip-use-ip_hdr-in-__ip_make_skb-to-retrieve-ip-header.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html