From: Ben Pfaff Date: Fri, 7 Aug 2009 21:46:58 +0000 (-0700) Subject: xenserver: Fix infinite recursion in get_netdev_by_mac. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ceda58c0697cb3c1ad8b85dc21d105049f92129;p=openvswitch xenserver: Fix infinite recursion in get_netdev_by_mac. Oops. --- diff --git a/xenserver/opt_xensource_libexec_interface-reconfigure b/xenserver/opt_xensource_libexec_interface-reconfigure index 5f19ff36..05d6a8b0 100755 --- a/xenserver/opt_xensource_libexec_interface-reconfigure +++ b/xenserver/opt_xensource_libexec_interface-reconfigure @@ -267,7 +267,7 @@ def get_netdev_tx_queue_len(device): def get_netdev_by_mac(mac): maybe = None for device in os.listdir("/sys/class/net"): - dev_mac = get_netdev_by_mac(device) + dev_mac = get_netdev_mac(device) if dev_mac and mac.lower() == dev_mac.lower(): if get_netdev_tx_queue_len(device): return device