Message ID | 20221123093117.434274-3-steffen.klassert@secunet.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d83f7040e18489265b4b121f33f99b02e52dabda |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/6] xfrm: fix "disable_policy" on ipv4 early demux | expand |
diff --git a/net/core/lwtunnel.c b/net/core/lwtunnel.c index 6fac2f0ef074..711cd3b4347a 100644 --- a/net/core/lwtunnel.c +++ b/net/core/lwtunnel.c @@ -48,9 +48,11 @@ static const char *lwtunnel_encap_str(enum lwtunnel_encap_types encap_type) return "RPL"; case LWTUNNEL_ENCAP_IOAM6: return "IOAM6"; + case LWTUNNEL_ENCAP_XFRM: + /* module autoload not supported for encap type */ + return NULL; case LWTUNNEL_ENCAP_IP6: case LWTUNNEL_ENCAP_IP: - case LWTUNNEL_ENCAP_XFRM: case LWTUNNEL_ENCAP_NONE: case __LWTUNNEL_ENCAP_MAX: /* should not have got here */