Re: [PATCH] Set port/proto in acquire messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 23, 2003 at 08:50:55PM +1000, herbert wrote:
> 
> Here you go.

Oops, I was too hasty.  Here is the complete patch.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--- kernel-source-2.5/include/linux/xfrm.h.orig	2003-06-23 20:49:48.000000000 +1000
+++ kernel-source-2.5/include/linux/xfrm.h	2003-06-23 20:49:55.000000000 +1000
@@ -202,7 +202,6 @@
 
 struct xfrm_user_acquire {
 	struct xfrm_id			id;
-	xfrm_address_t			saddr;
 	struct xfrm_selector		sel;
 	struct xfrm_userpolicy_info	policy;
 	__u32				aalgos;
--- kernel-source-2.5/net/xfrm/xfrm_user.c.orig	2003-06-23 22:28:54.000000000 +1000
+++ kernel-source-2.5/net/xfrm/xfrm_user.c	2003-06-23 22:28:10.000000000 +1000
@@ -1010,7 +1010,6 @@
 	nlh->nlmsg_flags = 0;
 
 	memcpy(&ua->id, &x->id, sizeof(ua->id));
-	memcpy(&ua->saddr, &x->props.saddr, sizeof(ua->saddr));
 	memcpy(&ua->sel, &x->sel, sizeof(ua->sel));
 	copy_to_user_policy(xp, &ua->policy, dir);
 	ua->aalgos = xt->aalgos;

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux