On Sat, Jul 12, 2003 at 10:50:06PM -0700, David S. Miller wrote: > > Herbert, please send your patch to me that fixes just this bug. Sure, here it is. -- 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/net/xfrm/xfrm_policy.c.orig 2003-07-13 10:58:50.000000000 +1000 +++ kernel-source-2.5/net/xfrm/xfrm_policy.c 2003-07-13 10:59:06.000000000 +1000 @@ -860,6 +860,7 @@ { return x->id.proto == tmpl->id.proto && (x->id.spi == tmpl->id.spi || !tmpl->id.spi) && + (x->props.reqid == tmpl->reqid || !tmpl->reqid) && x->props.mode == tmpl->mode && (tmpl->aalgos & (1<<x->props.aalgo)) && !(x->props.mode && xfrm_state_addr_cmp(tmpl, x, family));