]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ehea: fix promiscuous mode
authorThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Wed, 25 Apr 2012 07:32:12 +0000 (07:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2012 09:07:45 +0000 (05:07 -0400)
commit47d59d01322f60d1c46fdf2650e0613daa8ce637
tree912782dfc8d6c6492cc0756f8613ad1b1d1a68e3
parent5d384574e8bceb9bada323da8044ca43e621886b
ehea: fix promiscuous mode

commit a4910b744486254cfa61995954c118fb2283c4fd has broken promiscuous
mode, which is never set. port->promisc just reflects the last setting
of PROMISCUOUS mode to avoid doing an extra hypercall when it's already
set.

However, since it may fail because of hypervisor permissions, we should
still respect the multicast settings and not simply exit after setting
promiscuous mode.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Cc: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ehea/ehea_main.c