Searched refs:new_peer (Results 1 – 1 of 1) sorted by relevance
1144 struct lowpan_peer *peer, *tmp_peer, *new_peer; in disconnect_all_peers() local1158 new_peer = kmalloc(sizeof(*new_peer), GFP_ATOMIC); in disconnect_all_peers()1159 if (!new_peer) in disconnect_all_peers()1162 new_peer->chan = peer->chan; in disconnect_all_peers()1163 INIT_LIST_HEAD(&new_peer->list); in disconnect_all_peers()1165 list_add(&new_peer->list, &peers); in disconnect_all_peers()