/[linux-patches]/genpatches-2.6/trunk/2.6.14/1017_3_ipv6-ah-length.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1017_3_ipv6-ah-length.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 214 - (show annotations) (download) (as text)
Fri Nov 25 00:35:16 2005 UTC (15 years ago) by dsd
File MIME type: text/x-diff
File size: 976 byte(s)
Linux 2.6.14.3
1 From stable-bounces@linux.kernel.org Mon Nov 21 02:06:57 2005
2 Date: Mon, 21 Nov 2005 19:07:33 +0900 (JST)
3 Message-Id: <20051121.190733.72492452.yoshfuji@linux-ipv6.org>
4 To: stable@kernel.org
5 From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
6 Cc: yoshfuji@linux-ipv6.org, netdev-core@vger.kernel.org
7 Subject: [PATCH] [IPV6]: Fix calculation of AH length during filling ancillary data.
8
9 From: Ville Nuorvala <vnuorval@tcs.hut.fi>
10
11 Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
12 Signed-off-by: Chris Wright <chrisw@osdl.org>
13 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
14 ---
15 net/ipv6/datagram.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- linux-2.6.14.2.orig/net/ipv6/datagram.c
19 +++ linux-2.6.14.2/net/ipv6/datagram.c
20 @@ -437,7 +437,7 @@ int datagram_recv_ctl(struct sock *sk, s
21 break;
22 case IPPROTO_AH:
23 nexthdr = ptr[0];
24 - len = (ptr[1] + 1) << 2;
25 + len = (ptr[1] + 2) << 2;
26 break;
27 default:
28 nexthdr = ptr[0];

  ViewVC Help
Powered by ViewVC 1.1.20