projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5951cab
)
[IPV4] ip_gre: set mac_header correctly in receive path
author
Timo Teras
<timo.teras@iki.fi>
Thu, 20 Dec 2007 08:10:33 +0000
(
00:10
-0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 20 Dec 2007 08:10:33 +0000
(
00:10
-0800)
mac_header update in ipgre_recv() was incorrectly changed to
skb_reset_mac_header() when it was introduced.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ip_gre.c
b/net/ipv4/ip_gre.c
index 02b02a8d681c85680d33d05bc2bdd7b710ef2672..4b93f32de10dc5213232a936d064b4fdefd49f06 100644
(file)
--- 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);