freebsd-dev/sys/dev/etherswitch/mtkswitch
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
..
mtkswitch_mt7620.c
mtkswitch_mt7620.h
mtkswitch_rt3050.c
mtkswitch_rt3050.h
mtkswitch.c [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
mtkswitchvar.h