netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: David Miller <davem@davemloft.net>
Cc: kaber@trash.net, netdev@vger.kernel.org
Subject: Re: [RESEND][PATCH][XFRM] SAD info TLV aggregation
Date: Thu, 03 May 2007 21:44:56 -0400	[thread overview]
Message-ID: <1178243096.4068.62.camel@localhost> (raw)
In-Reply-To: <1178240477.4068.56.camel@localhost>

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

On Thu, 2007-03-05 at 21:01 -0400, jamal wrote:
> On Thu, 2007-03-05 at 17:52 -0700, David Miller wrote:
> 
> > I'll sit tight and wait for the next version, whoever
> > creates it :-)
> 
> I could send you an incremental patch if that would work
> ( a 4+/- liner on the include). 
> 

i.e something along the lines of the attached ...
(so user space doesnt change)

Canucks going to survive tonight? ;->

cheers,
jamal


[-- Attachment #2: sapd-extra --]
[-- Type: text/x-patch, Size: 653 bytes --]

diff --git a/include/linux/xfrm.h b/include/linux/xfrm.h
index 8a522d5..544613a 100644
--- a/include/linux/xfrm.h
+++ b/include/linux/xfrm.h
@@ -278,9 +278,9 @@ enum xfrm_sadattr_type_t {
 	XFRMA_SADUNSPEC,
 	XFRMA_SADCNT,
 	XFRMA_SADHINFO,
-	__XFRMA_SAD_MAX
+	__XFRMA_SADMAX
 
-#define XFRMA_SAD_MAX (__XFRMA_SAD_MAX - 1)
+#define XFRMA_SADMAX (__XFRMA_SADMAX - 1)
 };
 
 struct xfrmu_sadhinfo {
@@ -292,9 +292,9 @@ enum xfrm_spdattr_type_t {
 	XFRMA_SPDUNSPEC,
 	XFRMA_SPDINFO,
 	XFRMA_SPDHINFO,
-	__XFRMA_SPD_MAX
+	__XFRMA_SPDMAX
 
-#define XFRMA_SPD_MAX (__XFRMA_SPD_MAX - 1)
+#define XFRMA_SPDMAX (__XFRMA_SPDMAX - 1)
 };
 
 struct xfrmu_spdinfo {

  reply	other threads:[~2007-05-04  1:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 23:06 [RESEND][PATCH][XFRM] SAD info TLV aggregation jamal
2007-05-04  0:19 ` Patrick McHardy
2007-05-04  0:50   ` jamal
2007-05-04  0:52     ` David Miller
2007-05-04  1:01       ` jamal
2007-05-04  1:44         ` jamal [this message]
2007-05-04  3:36           ` David Miller
2007-05-04 18:10     ` Patrick McHardy
2007-05-04 19:55       ` David 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=1178243096.4068.62.camel@localhost \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    /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 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).