1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Band-XXX-aid an easy to provoke panic.

MFC:	2 weeks
This commit is contained in:
Poul-Henning Kamp 2003-01-28 12:10:11 +00:00
parent 7704eaef00
commit 7baee2b7cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109981

View File

@ -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;