Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 13:36:51 +0400
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        freebsd-net@freebsd.org
Subject:   never freeing data received in netgraph control message
Message-ID:  <20030729093651.GA69782@cell.sick.ru>

next in thread | raw e-mail | index | archive | help
  In netgraph(4) it is said that:

	  In both directions, (request and response)
          it is up to the receiver of that message to free() the control mes-
          sage buffer. All control messages and replies are allocated with
          malloc() type M_NETGRAPH.

 Does this mean that I can receive message, point to its data with
a pointer in private node info, and use this data?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



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