iucv: Remove SKB list assumptions.
authorDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2018 00:01:51 +0000 (17:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 00:55:11 +0000 (16:55 -0800)
commit9e733177c71a81ae9be22dbacc79a0dd60a99f21
tree0a4ef88178c6b60457cb3e49453fda3f89e40143
parent4a5a553ddef76cbeb346414ddfd91aef8de07532
iucv: Remove SKB list assumptions.

Eliminate the assumption that SKBs and SKB list heads can
be cast to eachother in SKB list handling code.

This change also appears to fix a bug since the list->next pointer is
sampled outside of holding the SKB queue lock.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c