alistair23-linux/drivers/net/xen-netback
Jan Beulich f15650b7f9 netback: don't store invalid vif pointer
When xenvif_alloc() fails, it returns a non-NULL error indicator. To
avoid eventual races, we shouldn't store that into struct backend_info
as readers of it only check for NULL.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-09 18:30:08 -05:00
..
common.h xen-netback: reintroduce guest Rx stall detection 2014-10-25 14:15:20 -04:00
interface.c xen-netback: reintroduce guest Rx stall detection 2014-10-25 14:15:20 -04:00
Makefile
netback.c xen-netback: reintroduce guest Rx stall detection 2014-10-25 14:15:20 -04:00
xenbus.c netback: don't store invalid vif pointer 2014-12-09 18:30:08 -05:00