Date: Mon, 7 Feb 2005 19:50:34 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_socket.c Message-ID: <200502071950.j17JoYDY034877@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502071950.j17JoYDY034877>