kernel - jails - Fix NULL pointer deref in prison_remote_ip()
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 3 Feb 2010 21:22:23 +0000 (13:22 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 3 Feb 2010 21:22:23 +0000 (13:22 -0800)
commit0f37b34da449352b65d1c0b45976cf1bb919facc
treeb1b363aca767a3bf284b6f69ea80d1c74402990c
parentcae23e979c563e1d23122c863989f6faf439c217
kernel - jails - Fix NULL pointer deref in prison_remote_ip()

* This might be a bit of a hack but shortcut the routine if
  td->td_ucred is NULL.  This occurs if the routine is called
  via a kernel support thread.
sys/kern/kern_jail.c