| To: | tgraf@xxxxxxx |
|---|---|
| Subject: | Re: [PATCH 2.6 NET] Device name changing via rtnetlink |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Fri, 10 Sep 2004 23:00:38 +0900 (JST) |
| Cc: | davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx |
| In-reply-to: | <20040910133637.GA20088@postel.suug.ch> |
| Organization: | USAGI Project |
| References: | <20040910133637.GA20088@postel.suug.ch> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
In article <20040910133637.GA20088@xxxxxxxxxxxxxx> (at Fri, 10 Sep 2004 15:36:37 +0200), Thomas Graf <tgraf@xxxxxxx> says: > Allows changing of device name via rtnetlink. Last bit needed to do full > link configuration via rtnetlink. > > Signed-off-by: Thomas Graf <tgraf@xxxxxxx> : > + if (ida[IFLA_IFNAME - 1]->rta_len > RTA_LENGTH(IFNAMSIZ)) > + goto out; Please use sizeof(ifname) instead. -- Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx> GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Fwd: Re: question: linux TCP/IP stack implementation], John Haller |
|---|---|
| Next by Date: | Re: [PATCH 2.6 NET] Device name changing via rtnetlink, Thomas Graf |
| Previous by Thread: | [PATCH 2.6 NET] Device name changing via rtnetlink, Thomas Graf |
| Next by Thread: | Re: [PATCH 2.6 NET] Device name changing via rtnetlink, Thomas Graf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |