From: Guo, M. <mi...@in...> - 2004-04-23 02:14:34
|
Index: recvbcast.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/tipc/source/unstable/net/tipc/recvbcast.c,v retrieving revision 1.15 diff -u -r1.15 recvbcast.c --- recvbcast.c 22 Apr 2004 07:06:59 -0000 1.15 +++ recvbcast.c 23 Apr 2004 02:09:55 -0000 @@ -233,7 +233,7 @@ */ static void recaculate_gap(struct link* this) { - struct sk_buff *buf; + struct sk_buff *buf,*buf_next; struct node *owner; owner =3D this->owner; @@ -242,8 +242,9 @@ while(buf && msg_seqno(buf_msg(buf)) =3D=3D owner->last_in_bcast = + 1) { owner->last_in_bcast++; owner->deferred_inqueue_sz--; + buf_next =3D buf_next(buf); bcast_port_recv(buf); - buf =3D buf_next(buf); + buf =3D buf_next; } if(buf){ owner->deferred_in =3D buf; Thanks Guo Min=20 The content of this email message solely contains my own personal views, and not those of my employer. |