RE: [net-next 1/1] tipc: clean up skb list lock handling on send path

2019-08-15 Thread Jon Maloy
google.com; tipc- > discuss...@lists.sourceforge.net > Subject: Re: [net-next 1/1] tipc: clean up skb list lock handling on send path > > [...] > > /* Try again later if socket is busy */ > > -- > > 2.1.4 > > > > > Patch looks good, can you also ch

Re: [net-next 1/1] tipc: clean up skb list lock handling on send path

2019-08-14 Thread Xin Long
- Original Message - > The policy for handling the skb list locks on the send and receive paths > is simple. > > - On the send path we never need to grab the lock on the 'xmitq' list > when the destination is an exernal node. > > - On the receive path we always need to grab the lock

[net-next 1/1] tipc: clean up skb list lock handling on send path

2019-08-14 Thread Jon Maloy
The policy for handling the skb list locks on the send and receive paths is simple. - On the send path we never need to grab the lock on the 'xmitq' list when the destination is an exernal node. - On the receive path we always need to grab the lock on the 'inputq' list, irrespective of source