Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: a1d12694637682944b6993095e10c2be24c19f0a
https://github.com/greearb/xorp.ct/commit/a1d12694637682944b6993095e10c2be24c19f0a
Author: Ben Greear <[email protected]>
Date: 2011-03-21 (Mon, 21 Mar 2011)
Changed paths:
M xorp/fea/data_plane/ifconfig/ifconfig_parse_routing_socket.cc
M xorp/fea/data_plane/ifconfig/ifconfig_vlan_set_linux.cc
Log Message:
-----------
bsd: Fix VLAN creation and deletion.
There was a bug in deletion logic that I introduced
recently: It would recurse until it ran out of stack
and then crash.
There were more bugs with creating interfaces: The ioctl call
to configure the VID was returning EBUSY. Changing to
use system("ifconfig ed0.5 create") fixes this problem,
so ignoring root cause of that ioctl failure.
Fix a third bug that caused xorp to assert and crash when
a vlan device (or any other device) is removed.
Signed-off-by: Ben Greear <[email protected]>
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers