]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tipc-next'
authorDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2014 17:30:23 +0000 (12:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2014 17:30:23 +0000 (12:30 -0500)
commitbef2bc9ec347868ca6dd74b495d635d8983d7681
tree82658ff3ecd103abdad794b9b0833e45160b235e
parentafe6bf82ed5922aaccdda22880f7f4e91fc24987
parent8c50f0cc8e4326838e04cc3fc6cd343390dd6ff3
Merge branch 'tipc-next'

Ying Xue says:

====================
standardize TIPC SKB queue operations

Now the following SKB queues are created and maintained within internal
TIPC stack:

- link transmission queue
- link deferred queue
- link receive queue
- socket outgoing packet chain
- name table outgoing packet chain

In order to manage above queues, TIPC stack declares a sk_buff pointer
for each queue to record its head, and directly modifies "prev" and
"next" SKB pointers of SKB structure when inserting or deleting a SKB
to or from the queue. As these operations are pretty complex, they
easily involve fatal mistakes. If these sk_buff pointers are replaced
with sk_buff_head instances as queue heads and corresponding generic
SKB list APIs are used to manage them, the entire TIPC code would
become quite clean and readable. But before make the change, we need
to clean up below redundant functionalities:

- remove node subscribe infrastructure
- remove protocol message queue
- remove retransmission queue
- clean up process of pushing packets in link layer
====================

Signed-off-by: David S. Miller <davem@davemloft.net>