[Xorp-cvs] XORP cvs commit: xorp/fea

Pavlin Radoslavov pavlin at icir.org
Wed Aug 23 01:15:17 PDT 2006


CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin at xorpc.icir.org	2006-08-23 08:15:17 UTC

XORP CVS repository


Modified files:
	fea           ifconfig_set_netlink.cc 

Log message:
	Reverse the previous commit.
	When setting the MAC address using the RTM_SETLINK netlink mechanism,
	the attribute payload indeed is suppose to be a MAC address (only).
	
	The Linux kernel (at least version 2.6.17.10) indeed had a bug which
	required the MAC address to be encapsulated inside "struct sockaddr".
	See the following email thread for details:
	http://www.spinics.net/lists/kernel/msg498873.html
	
	The Linux kernel has been fixed, and the fix will be available
	with kernel 2.6.18 (if not earlier).
	
	In the mean time, the simplest work-around to have the FEA working
	with kernels that aren't fixed is to replace "#ifdef RTM_SETLINK"
	with "#if 0" inside IfConfigSetNetlink::set_interface_mac_address().

Revision  Changes                               Path
1.29      +3 -34;  commitid: f5d344ec06747ea6;  xorp/fea/ifconfig_set_netlink.cc



More information about the Xorp-cvs mailing list