summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2017-10-11 08:45:21 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-12 00:28:38 +0200
commit1a7959c76641674991ba3a49f25432f1e105391e (patch)
treec8a52ea573b8159676b2fa7f7d7efbc831e67c4d /security
parentnet: qrtr: Pass source and destination to enqueue functions (diff)
downloadlinux-1a7959c76641674991ba3a49f25432f1e105391e.tar.xz
linux-1a7959c76641674991ba3a49f25432f1e105391e.zip
net: qrtr: Clean up control packet handling
As the message header generation is deferred the internal functions for generating control packets can be simplified. This patch modifies qrtr_alloc_ctrl_packet() to, in addition to the sk_buff, return a reference to a struct qrtr_ctrl_pkt, which clarifies and simplifies the helpers to the point that these functions can be folded back into the callers. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions