[Xorp-cvs] XORP cvs commit: xorp/fea
Pavlin Radoslavov
pavlin at icir.org
Tue Oct 24 15:35:34 PDT 2006
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2006-10-24 22:35:34 UTC
XORP CVS repository
Modified files:
fea fticonfig_entry_set_netlink.cc
ifconfig_set_netlink.cc netlink_socket_utils.cc
netlink_socket_utils.hh
Log message:
* If there is an error when deleting a forwarding entry, then
check the reason for the error and eventually ignore it.
For example, if the outgoing interface was taken down earlier, then
most likely the kernel has removed the matching forwarding
entries on its own. Hence, check whether all of the following
is true:
- the error code matches
- the outgoing interface is down
If all conditions are true, then ignore the error and consider
the deletion was success.
Note that we could add to the following list the check whether
the forwarding entry is not in the kernel, but this is probably
an overkill.
* Return-by-reference the last errno when calling
NlmUtils::check_netlink_request()
Revision Changes Path
1.32 +42 -3; commitid: 33c7453e94607ea6; xorp/fea/fticonfig_entry_set_netlink.cc
1.33 +11 -6; commitid: 33c7453e94607ea6; xorp/fea/ifconfig_set_netlink.cc
1.37 +6 -1; commitid: 33c7453e94607ea6; xorp/fea/netlink_socket_utils.cc
1.16 +3 -1; commitid: 33c7453e94607ea6; xorp/fea/netlink_socket_utils.hh
More information about the Xorp-cvs
mailing list