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

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;