diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-07-08 06:10:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-08 09:07:14 +0200 |
commit | 9615fe36b31d926f1c5107013b772dc226a6a7ca (patch) | |
tree | 45944b574508d870a017e1ce36ed6fa16ba0f664 /net/openvswitch | |
parent | ipmr: Fix indentation issue (diff) | |
download | linux-9615fe36b31d926f1c5107013b772dc226a6a7ca.tar.xz linux-9615fe36b31d926f1c5107013b772dc226a6a7ca.zip |
skbuff: Fix build with SKB extensions disabled
We will fail to build with CONFIG_SKB_EXTENSIONS disabled after
8550ff8d8c75 ("skbuff: Release nfct refcount on napi stolen or re-used
skbs") since there is an unconditionally use of skb_ext_find() without
an appropriate stub. Simply build the code conditionally and properly
guard against both COFNIG_SKB_EXTENSIONS as well as
CONFIG_NET_TC_SKB_EXT being disabled.
Fixes: Fixes: 8550ff8d8c75 ("skbuff: Release nfct refcount on napi stolen or re-used skbs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions