freebsd-dev/sys/dev/etherswitch/ip17x
Michael Zhilin 0774131e27 [etherswitch] check if_alloc returns NULL
This patch is cosmetic. It checks if allocation of ifnet structure failed.
It's better to have this check rather than assume positive scenario.

Submitted by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>
Reported by:	Dmitry Luhtionov <dmitryluhtionov@gmail.com>
2018-01-24 21:33:18 +00:00
..
ip17x_phy.c
ip17x_phy.h
ip17x_reg.h
ip17x_var.h
ip17x_vlans.c
ip17x_vlans.h
ip17x.c [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
ip175c.c
ip175c.h
ip175d.c
ip175d.h