cvs commit: src/sys/netgraph ng_socket.c

Gleb Smirnoff glebius at FreeBSD.org
Mon Feb 7 19:50:35 GMT 2005


glebius     2005-02-07 19:50:34 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netgraph         ng_socket.c 
  Log:
  Do a hacked MFC of rev. 1.59. Accept messages from userland if their version
  macthes NG_VERSION or 0. There was a bug in libnetgraph, when messages were
  sent with version of 0. The bug was fixed in msg.c rev 1.9.2.1. With this
  commit we do not break ABI during RELENG_5 lifetime, and also protect from
  using older and newer APIs. It is also important, that NG_VERSION has never
  been 0.
  
  This gentle kind of fix was suggested by scottl.
  
  Revision  Changes    Path
  1.53.2.3  +6 -0      src/sys/netgraph/ng_socket.c


More information about the cvs-src mailing list