Michal Novotny
2009-Mar-23 10:46 UTC
[Xen-devel] [PATCH] Disallow bogus MAC addresses when creating new VIF devices
Hello everybody, I have created a patch to disallow bogus MAC addresses when attaching new network interface. This checks the device type in device_create() function and when it''s ''vif'' interface, it finds mac address and tries to match it using regular expression. If the expression can''t be matched (ie. no valid MAC address has been provided), the error is returned and entry about attempt to create a virtual network device with bogus MAC address is written to the log file. Signed-off-by: Michal Novotny <minovotn@redhat.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel