summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2024-02-19 12:51:49 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-02-22 15:32:55 +0300
commita1f4cf5791e7914f3e42f5462669353104fef8a9 (patch)
tree9b56a3605b3d4ee9888589498b80b350a19b4d83 /scripts/install.sh
parentfc944ecc4f1a287882d90441360a0ba61d45fd8b (diff)
downloadlinux-a1f4cf5791e7914f3e42f5462669353104fef8a9.tar.xz
net: mctp: tests: create test skbs with the correct net and device
In our test skb creation functions, we're not setting up the net and device data. This doesn't matter at the moment, but we will want to add support for distinct net IDs in future. Set the ->net identifier on the test MCTP device, and ensure that test skbs are set up with the correct device-related data on creation. Create a helper for setting skb->dev and mctp_skb_cb->net. We have a few cases where we're calling __mctp_cb() to initialise the cb (which we need for the above) separately, so integrate this into the skb creation helpers. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/install.sh')
0 files changed, 0 insertions, 0 deletions