cvs commit: src/sys/net/bridge if_bridge.c

Sepherosa Ziehau sephe at
Sat Jun 2 05:52:57 PDT 2007

sephe       2007/06/02 05:51:48 PDT

DragonFly src repository

  Modified files:
    sys/net/bridge       if_bridge.c 
  - Nuke the second parameter of bridge_stop().  This kind of stop interface
    is never adopted by DragonFly.
  - In bridge_ioctl():
    o  Use suser_ucred() instead of suser(), since ucred is passed to us.
    o  Correct comment and nuke unapplicable comment.
  - In bridge_start():
    o  Move stack variables near their usage.
    o  Make sure that ether_header is contiguous in mbuf before accessing it.
  - Add serializer assertion at the beginning of all ifnet functions.
  - Minor style changes.
  Revision  Changes    Path
  1.21      +31 -31    src/sys/net/bridge/if_bridge.c

More information about the Commits mailing list