Problem with M_COPY_PACKET

2003-02-24 Thread Craig Rodrigues
Hi, I did a cvsup today, and when I tried to compile the Netgraph ATM drivers, I got this error: ~rodrigc/ngatm/ngatmbase-1.2b/fatm/if_fatm.c cc1: warnings being treated as errors /usr/home/rodrigc/ngatm/ngatmbase-1.2b/fatm/if_fatm.c: In function `copy_mbuf':

Re: Problem with M_COPY_PACKET

2003-02-24 Thread Hiten Pandya
Craig Rodrigues (Mon, Feb 24, 2003 at 12:07:02PM -0500) wrote: The code in question looks like: = struct mbuf * copy_mbuf(struct mbuf *m) { struct mbuf *new; MGET(new, M_DONTWAIT, MT_DATA);

Re: Problem with M_COPY_PACKET

2003-02-24 Thread Harti Brandt
On Mon, 24 Feb 2003, Hiten Pandya wrote: HPCraig Rodrigues (Mon, Feb 24, 2003 at 12:07:02PM -0500) wrote: HP The code in question looks like: HP = HP struct mbuf * HP copy_mbuf(struct mbuf *m) HP { HP struct mbuf

Re: Problem with M_COPY_PACKET

2003-02-24 Thread Hiten Pandya
Harti Brandt (Mon, Feb 24, 2003 at 08:46:13PM +0100) wrote: On Mon, 24 Feb 2003, Hiten Pandya wrote: HPCraig Rodrigues (Mon, Feb 24, 2003 at 12:07:02PM -0500) wrote: HP The code in question looks like: HP = HP struct