]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net/mlx4_core: Set correctly allow_loopback flag
authorHadar Hen Zion <hadarh@mellanox.com>
Wed, 30 Jan 2013 23:07:03 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:46 +0000 (12:48 -0500)
commit248c62aa12a318fe53bf4f530b69b150c34416e7
treee5867de8102b81cecf9cb1b6b6d71a725ee4c2bf
parent015465f85193fdc3a0debb1c9176433ba19140b2
net/mlx4_core: Set correctly allow_loopback flag

The allow_loopback flag was wrongly set using arithmetic bit operation, change
the code to use logical bit operation.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mcg.c