netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Graf <tgraf@suug.ch>
To: "David S. Miller" <davem@davemloft.net>
Cc: Jamal Hadi Salim <hadi@cyberus.ca>,
	Eric Lemoine <eric.lemoine@gmail.com>,
	netdev@oss.sgi.com
Subject: [PATCH 2.6 NET] Adjust RTATTR_MAX to IFLA_* changes
Date: Thu, 9 Sep 2004 18:31:31 +0200	[thread overview]
Message-ID: <20040909163131.GA18951@postel.suug.ch> (raw)

IFLA_MAX is now bigger than RTA_MAX with the latest changes in IFLA_*.
Adjust RTATTR to point to IFLA_MAX to have big enough buffer in
rtnetlink_rcv_msg.

Signed-off-by: Thomas Graf <tgraf@suug.ch>

--- linux-2.6.9-rc1-bk15.orig/include/linux/rtnetlink.h	2004-09-08 18:32:05.000000000 +0200
+++ linux-2.6.9-rc1-bk15/include/linux/rtnetlink.h	2004-09-09 17:32:14.000000000 +0200
@@ -662,7 +662,7 @@
 
 /* SUMMARY: maximal rtattr understood by kernel */
 
-#define RTATTR_MAX		RTA_MAX
+#define RTATTR_MAX		IFLA_MAX
 
 /* RTnetlink multicast groups */
 

             reply	other threads:[~2004-09-09 16:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 16:31 Thomas Graf [this message]
2004-09-09 17:31 ` [PATCH 2.6 NET] Adjust RTATTR_MAX to IFLA_* changes David S. Miller
2004-09-09 17:49   ` Thomas Graf
2004-09-09 17:53     ` 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=20040909163131.GA18951@postel.suug.ch \
    --to=tgraf@suug.ch \
    --cc=davem@davemloft.net \
    --cc=eric.lemoine@gmail.com \
    --cc=hadi@cyberus.ca \
    --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 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).