mctp: Pass flow data & flow release events to drivers
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 29 Oct 2021 03:01:45 +0000 (11:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 12:23:51 +0000 (13:23 +0100)
commit67737c457281dd199ceb9e31b6ba7efd3bfe566d
tree77003311252e189a9ea63792d9fa7f0f09175119
parent78476d315e190533757ab894255c4f2c2f254bce
mctp: Pass flow data & flow release events to drivers

Now that we have an extension for MCTP data in skbs, populate the flow
when a key has been created for the packet, and add a device driver
operation to inform of flow destruction.

Includes a fix for a warning with test builds:
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mctp.h
include/net/mctpdevice.h
net/mctp/device.c
net/mctp/route.c