|
@@ -1237,7 +1237,7 @@ static ssize_t bonding_store_active_slave(struct device *d,
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
- sscanf(buf, "%16s", ifname); /* IFNAMSIZ */
|
|
|
|
|
|
+ sscanf(buf, "%15s", ifname); /* IFNAMSIZ */
|
|
|
|
|
|
/* check to see if we are clearing active */
|
|
/* check to see if we are clearing active */
|
|
if (!strlen(ifname) || buf[0] == '\n') {
|
|
if (!strlen(ifname) || buf[0] == '\n') {
|