if_lmc.c (182112) | if_lmc.c (184205) |
---|---|
1/* | 1/* |
2 * $FreeBSD: head/sys/dev/lmc/if_lmc.c 182112 2008-08-24 18:27:19Z bz $ | 2 * $FreeBSD: head/sys/dev/lmc/if_lmc.c 184205 2008-10-23 15:53:51Z des $ |
3 * 4 * Copyright (c) 2002-2004 David Boggs. <boggs@boggs.palo-alto.ca.us> 5 * All rights reserved. 6 * 7 * BSD License: 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 5054 unchanged lines hidden (view full) --- 5065 /* Handle synchronous response. */ 5066# if (__FreeBSD_version >= 500000) 5067 NG_RESPOND_MSG(error, node, item, resp); 5068 NG_FREE_MSG(msg); 5069# else /* FreeBSD-4 */ 5070 if (rptr != NULL) 5071 *rptr = resp; 5072 else if (resp != NULL) | 3 * 4 * Copyright (c) 2002-2004 David Boggs. <boggs@boggs.palo-alto.ca.us> 5 * All rights reserved. 6 * 7 * BSD License: 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 5054 unchanged lines hidden (view full) --- 5065 /* Handle synchronous response. */ 5066# if (__FreeBSD_version >= 500000) 5067 NG_RESPOND_MSG(error, node, item, resp); 5068 NG_FREE_MSG(msg); 5069# else /* FreeBSD-4 */ 5070 if (rptr != NULL) 5071 *rptr = resp; 5072 else if (resp != NULL) |
5073 FREE(resp, M_NETGRAPH); 5074 FREE(msg, M_NETGRAPH); | 5073 free(resp, M_NETGRAPH); 5074 free(msg, M_NETGRAPH); |
5075# endif 5076 5077 return error; 5078 } 5079 5080/* This is a persistent netgraph node. */ 5081static int 5082ng_shutdown(node_p node) --- 1957 unchanged lines hidden --- | 5075# endif 5076 5077 return error; 5078 } 5079 5080/* This is a persistent netgraph node. */ 5081static int 5082ng_shutdown(node_p node) --- 1957 unchanged lines hidden --- |