]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb96cef5e45b3710f4924d6c4f62dfe7a363ba1cf
tree81c0304087ff9f51f65bb8266d1e210aad31ddcc
parent8cc70930b7242e4ec0cee8d2a6de0868b9f2d3cd
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