Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
skbuff: Fix build with SKB extensions disabled
commit 9615fe3 upstream. We will fail to build with CONFIG_SKB_EXTENSIONS disabled after 8550ff8 ("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: 8550ff8 ("skbuff: Release nfct refcount on napi stolen or re-used skbs") Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Roi Dayan <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information