bearer mbim: ipv6_config set to dhcp when no ipv6 is available

Dan Williams dcbw at redhat.com
Fri Oct 5 18:51:13 UTC 2018


On Fri, 2018-10-05 at 11:39 +0200, Andreas Fett wrote:
> Hi list,
> 
> I noticed, that in ip_configuration_query_ready() ipv6_config will be
> allocated and method will be set to MM_BEARER_IP_METHOD_DHCP even
> when
> ipv6configurationavailable is false, just based on the value of
> ctx->ip_type.
> 
> So essentially every bearer which was *configured* with ip_type v6 or
> v4+v6 before connecting will report that v6 may be available via
> SLACC.
> This is even the case when the mbim ip configuration response
> explicitly
> says that no ipv6 is available.
> 
> Is this intentional or should I submit a patch that takes the
> information from the mbim message into consideration when reporting
> the
> ip6_config?

I could be mis-remembering, but I don't think this was intentional and
if MBIM says IPv6 isn't available, then MM shouldn't say it's available
either.

Bjorn or Aleksander, do you have more experience here that you could
share?

Dan


More information about the ModemManager-devel mailing list