| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 2.6 NET] Adjust RTATTR_MAX to IFLA_* changes |
| From: | Thomas Graf <tgraf@xxxxxxx> |
| Date: | Thu, 9 Sep 2004 18:31:31 +0200 |
| Cc: | Jamal Hadi Salim <hadi@xxxxxxxxxx>, Eric Lemoine <eric.lemoine@xxxxxxxxx>, netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
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@xxxxxxx> --- 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 */ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2.6 NET] Catch wrong RTATTR_MAX with BUG(), David S. Miller |
|---|---|
| Next by Date: | Re: Help interpreting ethtool -S for tg3 (rx_discards and such), akepner |
| Previous by Thread: | Help interpreting ethtool -S for tg3 (rx_discards and such), François Baligant |
| Next by Thread: | Re: [PATCH 2.6 NET] Adjust RTATTR_MAX to IFLA_* changes, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |