group.c
imports socket.hRemoves an entry from a linked list
SHA-25605ca0baa9c954c54294540914caaeb7e062576ae34efad78967dd776326bb5cc
MaleculeH(Db₂)Md(In)
Evidence
5:33… nc
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are met:
10 *
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must repr …
33:66… VISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
35 */
36
37#include "core.h"
38#include "addr.h"
39#include "group.h"
40#include "bcast.h"
41#include "topsrv.h"
42#include "msg.h"
43#include "socket.h"
44#include "node.h"
45#include "name_table.h"
46#include "subscr.h"
47
48#define ADV_UNIT (((MAX_MSG_SIZE + MAX_H_SIZE) / FLOWCTL_BLK_SZ) + 1)
49#define ADV_IDLE ADV_U …
221:31… , GRP_LEAVE_MSG, &xmitq);
222 __skb_queue_purge(&m->deferredq);
223 list_del(&m->list);
224 kfree(m);
225 }
226 tipc_node_distr_xmit(net, &xmitq);
227 tipc_nlist_purge(&grp->dests);
228 tipc_topsrv_kern_unsubscr(net, g …
291:17… _left;
292 else if (key > nkey)
293 n = &(*n)->rb_right;
294 else
295 return -EEXIST;
296 }
297 rb_link_node(&m->tree_node, parent, n);
⋯5 lines
696:9… _dest_droppable(hdr, true);
697 msg_set_grp_bc_seqno(hdr, seqno);
698 memcpy(msg_data(hdr), &evt, sizeof(evt));
699 TIPC_SKB_CB(skb)->orig_member = m->instance;
700 __skb_queue_tail(inputq, skb);
701}
702
703static void …