r4711 - dists/trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches

Simon Horman horms at costa.debian.org
Wed Nov 2 08:49:35 UTC 2005


Author: horms
Date: 2005-11-02 08:49:34 +0000 (Wed, 02 Nov 2005)
New Revision: 4711

Modified:
   dists/trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/188_fix-dst-leak-in-icmp_push_reply.diff
Log:
Fix bogusness in 188_fix-dst-leak-in-icmp_push_reply.diff

Modified: dists/trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/188_fix-dst-leak-in-icmp_push_reply.diff
===================================================================
--- dists/trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/188_fix-dst-leak-in-icmp_push_reply.diff	2005-11-01 20:47:46 UTC (rev 4710)
+++ dists/trunk/kernel-2.4/source/kernel-source-2.4.27-2.4.27/debian/patches/188_fix-dst-leak-in-icmp_push_reply.diff	2005-11-02 08:49:34 UTC (rev 4711)
@@ -15,11 +15,14 @@
  net/ipv4/icmp.c |   12 ++++++------
  1 files changed, 6 insertions(+), 6 deletions(-)
 
+Backported to Debian's 2.4.27, 
+which is needed because of IPSEC backport -- Horms
+
 Index: linux-2.6.12.y/net/ipv4/icmp.c
 ===================================================================
 --- a/net/ipv4/icmp.c	2005-09-01 12:04:56.000000000 +0900
 +++ b/net/ipv4/icmp.c	2005-09-01 12:24:09.000000000 +0900
-@@ -297,11 +297,12 @@
+@@ -297,12 +297,12 @@
  {
  	struct sk_buff *skb;
  
@@ -28,12 +31,12 @@
 -		       icmp_param->head_len,
 -		       ipc, rt, MSG_DONTWAIT);
 -
+-	if ((skb = skb_peek(&icmp_socket->sk->write_queue)) != NULL) {
 +	if (ip_append_data(icmp_socket->sk, icmp_glue_bits, icmp_param,
 +			icmp_param->data_len+icmp_param->head_len,
 +			icmp_param->head_len,
 +			ipc, rt, MSG_DONTWAIT) < 0)
 +		ip_flush_pending_frames(icmp_socket->sk);
 +	else if ((skb = skb_peek(&icmp_socket->sk->sk_write_queue)) != NULL) {
- 	if ((skb = skb_peek(&icmp_socket->sk->write_queue)) != NULL) {
  		struct icmphdr *icmph = skb->h.icmph;
  		unsigned int csum = 0;




More information about the Kernel-svn-changes mailing list