Home
last modified time | relevance | path

Searched hist:"1 b386f626f8441099f574cd42a5cbae2d8c3235a" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/netback/
H A Dnetback.cdiff 1b386f626f8441099f574cd42a5cbae2d8c3235a Fri Aug 22 17:10:26 CEST 2014 Roger Pau Monné <royger@FreeBSD.org> netback: fixes for netback

This patch contains the following fixes for netback:
- Only unbind the evtchn if it has been bound.
- Set xnb->bridge to NULL after free to prevent double-freeing it.
- Set the MAC address for the host-facing interface to a dummy value.

Sponsored by: Citrix Systems R&D

dev/xen/netback/netback.c:
- Prevent trying to unbind if the evtchn has not been bounded.
- Prevent double-freeing xnb->bridge.
- Set the MAC address of the host-facing interface to a dummy value,
so it can work when the interface is added to a bridge.