brctl setportprio fails silently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bridge-utils (Debian) |
Fix Released
|
Unknown
|
|||
bridge-utils (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi, when I issue a brctl setportprio command specifying priorities highen than 63 the command fails silently, thus the priority of the port is not changed:
brctl setportprio BRVAL VALSEV 32768
it gives no output and the priority is not changed. If we analyze the command using strace:
strace brctl setportprio BRVAL VALSEV 32768
execve(
brk(0) = 0xac6000
access(
mmap(NULL, 8192, PROT_READ|
access(
open("/
fstat(3, {st_mode=
mmap(NULL, 17295, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe953af6000
close(3) = 0
access(
open("/
read(3, "\177ELF\
fstat(3, {st_mode=
mmap(NULL, 3680296, PROT_READ|
mprotect(
mmap(0x7fe9538d
mmap(0x7fe9538d
close(3) = 0
mmap(NULL, 4096, PROT_READ|
mmap(NULL, 4096, PROT_READ|
mmap(NULL, 4096, PROT_READ|
arch_prctl(
mprotect(
mprotect(0x606000, 4096, PROT_READ) = 0
mprotect(
munmap(
socket(PF_FILE, SOCK_STREAM, 0) = 3
brk(0) = 0xac6000
brk(0xae7000) = 0xae7000
open("/
fstat(4, {st_mode=
mmap(NULL, 4096, PROT_READ|
write(4, "32768\n", 6) = -1 ERANGE (Numerical result out of range)
close(4) = 0
munmap(
exit_group(0) = ?
The release is Ubuntu 10.04 LTS and bridge-utils is 1.4-5ubuntu2.
Regards.
Eduardo
Changed in bridge-utils (Debian): | |
status: | Unknown → Fix Released |
Hi, I have realized this bug is already filed in Debian as bug number 574363.
Regards,
Eduardo