mctp: Add flow extension to skb
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 29 Oct 2021 03:01:44 +0000 (11:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 12:23:51 +0000 (13:23 +0100)
commit78476d315e190533757ab894255c4f2c2f254bce
tree81c0304087ff9f51f65bb8266d1e210aad31ddcc
parent212c10c3c658b191c18ecdf80efb742f9bce5205
mctp: Add flow extension to skb

This change adds a new skb extension for MCTP, to represent a
request/response flow.

The intention is to use this in a later change to allow i2c controllers
to correctly configure a multiplexer over a flow.

Since we have a cleanup function in the core path (if an extension is
present), we'll need to make CONFIG_MCTP a bool, rather than a tristate.

Includes a fix for a build warning with clang:
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/linux/skbuff.h
include/net/mctp.h
net/core/skbuff.c
net/mctp/Kconfig