]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/qrtr/qrtr.c
net: qrtr: Support decoding incoming v2 packets
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 11 Oct 2017 06:45:23 +0000 (23:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2017 22:28:39 +0000 (15:28 -0700)
commit194ccc88297ae78d0803adad83c6dcc369787c9e
treec067940c5ffd99874b625013c724aad2fb69ca8a
parentf507a9b6e63b9f41b61d199c36ae046d17b5fe4b
net: qrtr: Support decoding incoming v2 packets

Add the necessary logic for decoding incoming messages of version 2 as
well. Also make sure there's room for the bigger of version 1 and 2
headers in the code allocating skbs for outgoing messages.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c