netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pfkey_send_new_mapping()
@ 2004-04-01 12:23 Michal Ludvig
  2004-04-01 18:39 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Ludvig @ 2004-04-01 12:23 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

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

Hi,

this is a fix for an obvious typo in $SUBJ. Please apply.

Michal Ludvig
-- 
SUSE Labs                    mludvig@suse.cz | Cray is the only computer
(+420) 296.545.373        http://www.suse.cz | that runs an endless loop
Personal homepage http://www.logix.cz/michal | in just four hours.

[-- Attachment #2: kernel-newmap-dst.diff --]
[-- Type: text/plain, Size: 576 bytes --]

diff -rup linux-2.6.4/net/key/af_key.c linux-2.6.4/net/key/af_key.c
--- linux-2.6.4/net/key/af_key.c	2004-04-01 10:00:32.000000000 +0200
+++ linux-2.6.4/net/key/af_key.c	2004-04-01 10:08:57.000000000 +0200
@@ -2636,7 +2636,7 @@ static int pfkey_send_new_mapping(struct
 	addr->sadb_address_len = 
 		(sizeof(struct sadb_address)+sockaddr_size)/
 			sizeof(uint64_t);
-	addr->sadb_address_exttype = SADB_EXT_ADDRESS_SRC;
+	addr->sadb_address_exttype = SADB_EXT_ADDRESS_DST;
 	addr->sadb_address_proto = 0;
 	addr->sadb_address_reserved = 0;
 	if (x->props.family == AF_INET) {

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

end of thread, other threads:[~2004-04-01 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 12:23 [PATCH] pfkey_send_new_mapping() Michal Ludvig
2004-04-01 18:39 ` 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).