Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1d0691674764098304ae4c63c715f5883b4d3784
Commit:     1d0691674764098304ae4c63c715f5883b4d3784
Parent:     5951cab136d8b7e84696061dc2e69c402bc94f61
Author:     Timo Teras <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 20 00:10:33 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Dec 20 00:10:33 2007 -0800

    [IPV4] ip_gre: set mac_header correctly in receive path
    
    mac_header update in ipgre_recv() was incorrectly changed to
    skb_reset_mac_header() when it was introduced.
    
    Signed-off-by: Timo Teras <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv4/ip_gre.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 02b02a8..4b93f32 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -613,7 +613,7 @@ static int ipgre_rcv(struct sk_buff *skb)
                                offset += 4;
                }
 
-               skb_reset_mac_header(skb);
+               skb->mac_header = skb->network_header;
                __pskb_pull(skb, offset);
                skb_reset_network_header(skb);
                skb_postpull_rcsum(skb, skb_transport_header(skb), offset);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to