[Xorp-cvs] XORP cvs commit: xorp/fea
Pavlin Radoslavov
pavlin at icir.org
Mon Aug 7 19:01:07 PDT 2006
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2006-08-08 02:01:07 UTC
XORP CVS repository
Modified files:
fea ifconfig_set_netlink.cc
Log message:
Fix the setting of MAC addresses using the RTM_SETLINK netlink mechanism,
because the attribute payload is suppose to be a MAC address contained
inside "struct sockaddr".
Note that the Linux kernel (at least version 2.6.17) has an API bug:
the attribute payload is suppose to be a MAC address contained inside
"struct sockaddr", but rta_len only is suppose to be ETH_ALEN.
See the modified code for details about the location of the bug
inside the kernel.
Submitted by: "Rick Balocca" <rbalocca AT vyatta.com>
Revision Changes Path
1.28 +35 -4; commitid: 3cdc44d7ee127ea6; xorp/fea/ifconfig_set_netlink.cc
More information about the Xorp-cvs
mailing list