You need to sign in or sign up before continuing.
  • W
    [netdrvr] Drivers should not set IFF_* flag themselves · c16d1185
    Wang Chen 提交于
    Some hardware set promisc when they are requested to set IFF_ALLMULTI flag.
    It's ok, but if drivers set IFF_PROMISC flag when they set promisc,
    it will broken upper layer handle for promisc and allmulti.
    In addition, drivers can use their own hardware programming to make it.
    So do not allow drivers to set IFF_* flags.
    
    This is a general driver fix, so I didn't split it to pieces and send
    to specific driver maintainers.
    Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
    Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
    c16d1185
de620.c 27.2 KB