Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/tap: set locally administered bit for fixed MAC address
[ upstream commit c3006be2acab49c6b77ae9c9ef04b061e5dacbd6 ] When the tap driver is loaded and the user selects the optional "mac=fixed" setting, the tap driver incorrectly uses a globally unique EUI-48 identifier (as documented in RFC 7042) of 00:64:74:61:70:<iface_idx>. Since this is a locally generated ID, the Local bit in the MAC address should be set to 1, resulting in the new address 02:64:74:61:70:<iface_idx>. Bugzilla ID: 1198 Fixes: f692178 ("net/tap: add support for fixed MAC addresses") Signed-off-by: David Christensen <drc@linux.vnet.ibm.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
- Loading branch information