netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6 NET] Adjust RTATTR_MAX to IFLA_* changes
@ 2004-09-09 16:31 Thomas Graf
  2004-09-09 17:31 ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Graf @ 2004-09-09 16:31 UTC (permalink / raw)
  To: David S. Miller; +Cc: Jamal Hadi Salim, Eric Lemoine, netdev

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 */
 

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

end of thread, other threads:[~2004-09-09 17:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-09 16:31 [PATCH 2.6 NET] Adjust RTATTR_MAX to IFLA_* changes Thomas Graf
2004-09-09 17:31 ` David S. Miller
2004-09-09 17:49   ` Thomas Graf
2004-09-09 17:53     ` 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).