mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Band-XXX-aid an easy to provoke panic.
MFC: 2 weeks
This commit is contained in:
parent
7704eaef00
commit
7baee2b7cf
1 changed files with 7 additions and 0 deletions
|
|
@ -238,7 +238,14 @@ ipatm_ioctl(code, data, arg1)
|
|||
|
||||
/*
|
||||
* Notify the responsible ARP service
|
||||
*
|
||||
* XXX: if there is one. No idea how this happens, but at
|
||||
* least don't panic on a NULL pointer if it does.
|
||||
*/
|
||||
if (inp->inf_serv == NULL) {
|
||||
err = ENXIO;
|
||||
break;
|
||||
}
|
||||
err = (*inp->inf_serv->is_ioctl)(code, data, inp->inf_isintf);
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue