CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2016/05/23 09:22:45

Modified files:
        sys/kern       : uipc_mbuf.c 
        sys/net        : if_ppp.c 
        sys/sys        : mbuf.h 
        sys/dev/pci    : if_myx.c if_nep.c 
        sys/arch/octeon/dev: if_cnmac.c 

Log message:
remove the function pointer from mbufs. this memory is shared with data
via unions, and we don't want to make it easy to control the target.
instead an integer index into an array of acceptable functions is used.
drivers using custom functions must register them to receive an index.
ok deraadt

Reply via email to