Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2011 19:46:36 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/net netisr.c netisr_internal.h
Message-ID:  <201101151946.p0FJkkbF030343@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

rwatson     2011-01-15 19:46:36 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/net              netisr.c 
  Added files:           (Branch: RELENG_8)
    sys/net              netisr_internal.h 
  Log:
  SVN rev 217457 on 2011-01-15 19:46:36Z by rwatson
  
  Merge r204497, r204499 from head to stable/8:
  
    Changes to support crashdump analysis of netisr:
  
    - Rename the netisr protocol registration array, 'np' to 'netisr_proto',
      in order to reduce the chances of symbol name collisions.  It remains
      statically defined, but it will be looked up by netstat(1).
  
    - Move certain internal structure definitions from netisr.c to
      netisr_internal.h so that netstat(1) can find them.  They remain
      private, and should not be used for any other purpose (for example,
      they should not be used by kernel modules, which must instead use the
      public interfaces in netisr.h).
  
    - Store a kernel-compiled version of NETISR_MAXPROT in the global variable
      netisr_maxprot, and export via a sysctl, so that it is available for use
      by netstat(1).  This is especially important for crashdump
      interpretation, where the size of the workstream structure is determined
      by the maximum number of protocols compiled into the kernel.
  
    Sponsored by:   Juniper Networks
  
    Whitespace tweak.
  
  Revision  Changes    Path
  1.32.2.7  +52 -113   src/sys/net/netisr.c
  1.1.2.2   +127 -0    src/sys/net/netisr_internal.h (new)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101151946.p0FJkkbF030343>