aboutsummaryrefslogtreecommitdiff
path: root/include/ModemManager-errors.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2022-03-28 11:57:42 +0200
committerBjørn Mork <bjorn@mork.no>2022-03-28 13:25:07 +0200
commit7bbf6c8a4aebfe33f9bebfe997288c45624d269a (patch)
tree56816336d09c44933e14c4e4208262eeb5b5886f /include/ModemManager-errors.h
parentb5a0a500404cd3b14438222f2b42caece7fb8970 (diff)
mm-netlink: only change IFF_UP flag
This fixes the missing NOARP flag on the second and following VLAN sub-interfaces when multiplexing over the cdc_mbim driver. ifi_change specifies all the flags we want to change. Any listed flag which isn't set in ifi_flags will be cleared by the kernel: if (ifm->ifi_change) flags = (flags & ifm->ifi_change) | (rtnl_dev_get_flags(dev) & ~ifm->ifi_change); Drivers like cdc_mbim set some netdev flags by default, indicating supported or unsupported features. The driver emulates an ethernet netdev but it doesn't implement ARP. Clearing NOARP on cdc_mbim netdevs will block IP transmissions, waiting for an ARP reply we never will receive. Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'include/ModemManager-errors.h')
0 files changed, 0 insertions, 0 deletions