opnsense-src/sys/dev/etherswitch/arswitch
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.c [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
arswitch_7240.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_7240.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8216.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8216.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8226.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8226.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8316.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8316.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8327.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_8327.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_9340.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_9340.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_phy.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_phy.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_reg.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_reg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_vlans.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitch_vlans.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitchreg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
arswitchvar.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00