]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add if_input_default() method, that will be used for if_input
authorae <ae@FreeBSD.org>
Thu, 12 Mar 2015 14:55:33 +0000 (14:55 +0000)
committerae <ae@FreeBSD.org>
Thu, 12 Mar 2015 14:55:33 +0000 (14:55 +0000)
commit59dd2a1d4540fbab6e6f65a356d4db4eb068dd6e
treec26133fb383a32c1d0a177b6ac2b77001631a392
parent55457a58186c99a3e1a4828fd4ab5107ce3dc79b
Add if_input_default() method, that will be used for if_input
initialization, when no input method specified before if_attach().

This prevents panics when if_input() method called directly e.g.
from bpf(4) code.

PR: 192426
Reviewed by: glebius
MFC after: 1 week
sys/net/if.c