lguest: don't set MAC address for guest unless specified
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Aug 2008 22:52:51 +0000 (17:52 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Aug 2008 07:52:52 +0000 (17:52 +1000)
commit40c42076ebd362dc69210cccea101ac80b6d4bd4
tree01336076f45eb008f00940a5df86b5970b8d92d0
parent10fec20ef5eec1c91913baec1225400f0d02df40
lguest: don't set MAC address for guest unless specified

This shows up when trying to bridge:
tap0: received packet with  own address as source address

As Max Krasnyansky points out, there's no reason to give the guest the
same mac address as the TUN device.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Max Krasnyansky <maxk@qualcomm.com>
Documentation/lguest/lguest.c