All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Ludvig <mludvig@suse.cz>
To: "David S. Miller" <davem@redhat.com>
Cc: netdev@oss.sgi.com
Subject: [PATCH] pfkey_send_new_mapping()
Date: Thu, 01 Apr 2004 14:23:10 +0200	[thread overview]
Message-ID: <406C09AE.1030407@suse.cz> (raw)

[-- 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) {

             reply	other threads:[~2004-04-01 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-01 12:23 Michal Ludvig [this message]
2004-04-01 18:39 ` [PATCH] pfkey_send_new_mapping() David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=406C09AE.1030407@suse.cz \
    --to=mludvig@suse.cz \
    --cc=davem@redhat.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.