]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: correct initialization of skb list
authorJon Maloy <jon.maloy@ericsson.com>
Sat, 7 Oct 2017 12:32:49 +0000 (14:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 04:13:23 +0000 (21:13 -0700)
commit3382605fd8db1ed1fb03f3f1529490133fe3ab08
tree269b5e1d26c30551de4363b6826ed7bacbd46d84
parent3d0241d57c7b25bb75ac9d7a62753642264fdbce
tipc: correct initialization of skb list

We change the initialization of the skb transmit buffer queues
in the functions tipc_bcast_xmit() and tipc_rcast_xmit() to also
initialize their spinlocks. This is needed because we may, during
error conditions, need to call skb_queue_purge() on those queues
further down the stack.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bcast.c