opnsense-src/sys/dev/etherswitch
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
..
arswitch [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
e6000sw [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
infineon [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
ip17x [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
micrel [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
mtkswitch [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
rtl8366 [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
ukswitch [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
etherswitch.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
etherswitch.h [etherswitch] add in an initial API for controlling per-port LED behaviour. 2016-08-04 17:45:35 +00:00
etherswitch_if.m Add the ability to change the vlan operation mode. 2013-05-08 20:46:54 +00:00
miiproxy.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
miiproxy.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00