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:
e242297
)
[IPCOMP]: Fix reception of incompressible packets
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 31 Jan 2008 05:48:24 +0000
(21:48 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Feb 2008 03:27:24 +0000
(19:27 -0800)
I made a silly typo by entering IPPROTO_IP (== 0) instead of
IPPROTO_IPIP (== 4). This broke the reception of incompressible
packets.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_tunnel.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/xfrm4_tunnel.c
b/net/ipv4/xfrm4_tunnel.c
index 87f77e412ba26533e0f03a3d2339cb637041cdb7..41f5982d20876ecb7ab1df92f5533d451b932ee2 100644
(file)
--- a/
net/ipv4/xfrm4_tunnel.c
+++ b/
net/ipv4/xfrm4_tunnel.c
@@
-50,7
+50,7
@@
static const struct xfrm_type ipip_type = {
static int xfrm_tunnel_rcv(struct sk_buff *skb)
{
- return xfrm4_rcv_spi(skb, IPPROTO_IP, ip_hdr(skb)->saddr);
+ return xfrm4_rcv_spi(skb, IPPROTO_IP
IP
, ip_hdr(skb)->saddr);
}
static int xfrm_tunnel_err(struct sk_buff *skb, u32 info)