never freeing data received in netgraph control message

Gleb Smirnoff glebius at cell.sick.ru
Tue Jul 29 02:36:55 PDT 2003


  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


More information about the freebsd-net mailing list