netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PFKEY] Set family for state selector
@ 2004-05-27 10:44 Herbert Xu
  2004-05-29 19:34 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2004-05-27 10:44 UTC (permalink / raw)
  To: David S. Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

Hi Dave:

As the comment in the code suggests, nobody really uses this so nobody
will notice the difference :) Still, let's make it correct while we're
at it.

Cheers,
-- 
Visit Openswan at http://www.openswan.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

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 460 bytes --]

===== net/key/af_key.c 1.58 vs edited =====
--- 1.58/net/key/af_key.c	2004-05-26 06:09:13 +10:00
+++ edited/net/key/af_key.c	2004-05-27 20:37:08 +10:00
@@ -1059,7 +1059,7 @@
 		struct sadb_address *addr = ext_hdrs[SADB_EXT_ADDRESS_PROXY-1];
 
 		/* Nobody uses this, but we try. */
-		pfkey_sadb_addr2xfrm_addr(addr, &x->sel.saddr);
+		x->sel.family = pfkey_sadb_addr2xfrm_addr(addr, &x->sel.saddr);
 		x->sel.prefixlen_s = addr->sadb_address_prefixlen;
 	}
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PFKEY] Set family for state selector
  2004-05-27 10:44 [PFKEY] Set family for state selector Herbert Xu
@ 2004-05-29 19:34 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-05-29 19:34 UTC (permalink / raw)
  To: Herbert Xu; +Cc: netdev

On Thu, 27 May 2004 20:44:45 +1000
Herbert Xu <herbert@gondor.apana.org.au> wrote:

> As the comment in the code suggests, nobody really uses this so nobody
> will notice the difference :) Still, let's make it correct while we're
> at it.

Applied, thanks Herbert.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-29 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 10:44 [PFKEY] Set family for state selector Herbert Xu
2004-05-29 19:34 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).