]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r210703:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Aug 2010 11:49:52 +0000 (11:49 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Aug 2010 11:49:52 +0000 (11:49 +0000)
commita034308c83217f9d9c514c244e5cf53d3122fffc
treec87893191c1d08fde79dcb7f97d0ad99ef71674f
parentaa6dd736f3aaa464b539136ea20dbf3aaad4c8c2
MFC r210703:

  Document the mandatory argument to the arptimer() and
  nd6_llinfo_timer() functions with a KASSERT().
  Note: there is no need to return after panic.

  In the legacy IP case, only assign the arg after the check,
  in the IPv6 case, remove the extra checks for the table and
  interface as they have to be there unless we freed and forgot
  to cancel the timer.  It doesn't matter anyway as we would
  panic on the NULL pointer deref immediately and the bug is
  elsewhere.
  This unifies the code of both address families to some extend.

  Reviewed by:  rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@210928 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/if_ether.c
sys/netinet6/nd6.c