diff options
author | David S. Miller <davem@davemloft.net> | 2008-06-04 12:10:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-04 12:10:21 -0700 |
commit | aed5a833fb18123d7cfc6ce3810ab97efd4869b3 (patch) | |
tree | 7077b2dce8fe2990cdf10ef8e1990c1eeafd3bc1 /net/ipv4 | |
parent | a6604471db5e7a33474a7f16c64d6b118fae3e74 (diff) | |
parent | 9596cc826e2e52bfc318ca37a6c52fe3d72990a3 (diff) | |
download | linux-aed5a833fb18123d7cfc6ce3810ab97efd4869b3.tar.gz linux-aed5a833fb18123d7cfc6ce3810ab97efd4869b3.tar.bz2 linux-aed5a833fb18123d7cfc6ce3810ab97efd4869b3.zip |
Merge branch 'net-2.6-misc-20080605a' of git://git.linux-ipv6.org/gitroot/yoshfuji/linux-2.6-fix
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tunnel4.c | 2 | ||||
-rw-r--r-- | net/ipv4/udp.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/tunnel4.c b/net/ipv4/tunnel4.c index d3b709a6f264..cb1f0e83830b 100644 --- a/net/ipv4/tunnel4.c +++ b/net/ipv4/tunnel4.c @@ -97,7 +97,7 @@ static int tunnel64_rcv(struct sk_buff *skb) { struct xfrm_tunnel *handler; - if (!pskb_may_pull(skb, sizeof(struct iphdr))) + if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) goto drop; for (handler = tunnel64_handlers; handler; handler = handler->next) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index db1cb7c96d63..56fcda3694ba 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -420,7 +420,7 @@ void udp_err(struct sk_buff *skb, u32 info) /* * Throw away all pending data and cancel the corking. Socket is locked. */ -static void udp_flush_pending_frames(struct sock *sk) +void udp_flush_pending_frames(struct sock *sk) { struct udp_sock *up = udp_sk(sk); @@ -430,6 +430,7 @@ static void udp_flush_pending_frames(struct sock *sk) ip_flush_pending_frames(sk); } } +EXPORT_SYMBOL(udp_flush_pending_frames); /** * udp4_hwcsum_outgoing - handle outgoing HW checksumming |