From: Rusty Russell 1) Bridging via host is broken: we need to set "promisc" bit in MAC address published by the host so the guest sends us everything. Thanks James Morris for the report (I don't use bridging). 2) Lguest network device uses 0 to mean "noone at this slot". It used to use 0xFF, and one spot was missed. Minor: it just means we'll have a useless extra transmit for broadcast packets. Signed-off-by: Rusty Russell Acked-by: James Morris Signed-off-by: Andrew Morton --- drivers/net/lguest_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/net/lguest_net.c~lguest-the-net-driver-two-net-bugfixes drivers/net/lguest_net.c --- a/drivers/net/lguest_net.c~lguest-the-net-driver-two-net-bugfixes +++ a/drivers/net/lguest_net.c @@ -249,7 +249,7 @@ static int lguestnet_close(struct net_de struct lguestnet_info *info = dev->priv; /* Clear all trace: others might deliver packets, we'll ignore it. */ - memset(&info->peer[info->me], 0xFF, sizeof(info->peer[info->me])); + memset(&info->peer[info->me], 0, sizeof(info->peer[info->me])); /* Deregister sg lists. */ hcall(LHCALL_BIND_DMA, peer_key(info, info->me), __pa(info->dma), 0); _