[Click] skbmgr lock issue

Qinghua(Kevin) Ye qye at trlabs.ca
Mon Jul 25 14:51:14 EDT 2005


See attached file. It's a simple patch, with two lines to lock and unlock.

Regards,
Qinghua(Kevin) Ye
----- Original Message ----- 
From: "Eddie Kohler" <kohler at cs.ucla.edu>
To: "Qinghua(Kevin) Ye" <qye at trlabs.ca>
Cc: <click at amsterdam.lcs.mit.edu>
Sent: Sunday, July 24, 2005 11:10 AM
Subject: Re: [Click] skbmgr lock issue


> Qinghua,
>
> I think you've found a bug.  THANKS!  Can you send the patch, please?
>
> Eddie
>
>
> Qinghua(Kevin) Ye wrote:
> > Hi, All,
> >
> > During my test on my SMP, a NULL point problem occured. After reading
the skbmgr.cc, I find that there is no lock for recyle(), while there is
such a lock on allocate() function. Is this a bug? I add the lock and it
runs fine now.
> >
> > Qinghua
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skbmgr.patch
Type: application/octet-stream
Size: 2086 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20050725/cda72164/skbmgr.obj


More information about the click mailing list