mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
356d71e00d
926 changed files with 15171 additions and 7606 deletions
|
@ -163,12 +163,9 @@ void tipc_sched_net_finalize(struct net *net, u32 addr)
|
|||
|
||||
void tipc_net_stop(struct net *net)
|
||||
{
|
||||
u32 self = tipc_own_addr(net);
|
||||
|
||||
if (!self)
|
||||
if (!tipc_own_id(net))
|
||||
return;
|
||||
|
||||
tipc_nametbl_withdraw(net, TIPC_CFG_SRV, self, self, self);
|
||||
rtnl_lock();
|
||||
tipc_bearer_stop(net);
|
||||
tipc_node_stop(net);
|
||||
|
|
|
@ -835,10 +835,10 @@ static void __tipc_node_link_down(struct tipc_node *n, int *bearer_id,
|
|||
static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete)
|
||||
{
|
||||
struct tipc_link_entry *le = &n->links[bearer_id];
|
||||
struct tipc_media_addr *maddr = NULL;
|
||||
struct tipc_link *l = le->link;
|
||||
struct tipc_media_addr *maddr;
|
||||
struct sk_buff_head xmitq;
|
||||
int old_bearer_id = bearer_id;
|
||||
struct sk_buff_head xmitq;
|
||||
|
||||
if (!l)
|
||||
return;
|
||||
|
@ -862,7 +862,8 @@ static void tipc_node_link_down(struct tipc_node *n, int bearer_id, bool delete)
|
|||
tipc_node_write_unlock(n);
|
||||
if (delete)
|
||||
tipc_mon_remove_peer(n->net, n->addr, old_bearer_id);
|
||||
tipc_bearer_xmit(n->net, bearer_id, &xmitq, maddr);
|
||||
if (!skb_queue_empty(&xmitq))
|
||||
tipc_bearer_xmit(n->net, bearer_id, &xmitq, maddr);
|
||||
tipc_sk_rcv(n->net, &le->inputq);
|
||||
}
|
||||
|
||||
|
|
|
@ -363,6 +363,7 @@ static int tipc_conn_rcv_sub(struct tipc_topsrv *srv,
|
|||
struct tipc_subscription *sub;
|
||||
|
||||
if (tipc_sub_read(s, filter) & TIPC_SUB_CANCEL) {
|
||||
s->filter &= __constant_ntohl(~TIPC_SUB_CANCEL);
|
||||
tipc_conn_delete_sub(con, s);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue