android_kernel_xiaomi_sm8350/drivers/net/mlx4
Roland Dreier 352b09edd7 mlx4_core: Don't leak mailbox for SET_PORT on Ethernet ports
Commit 793730bf ("mlx4_core: Don't perform SET_PORT command for
Ethernet ports") introduced a leak of mailbox buffers when SET_PORT
was called for Ethernet ports, since it added a return after the
mailbox was allocated.  Fix this by checking the port type and
returning *before* allocating the mailbox.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-03-31 09:54:15 -07:00
..
alloc.c
catas.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
cmd.c
cq.c mlx4_core: Add support for multiple completion event vectors 2008-12-22 07:15:03 -08:00
en_cq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2008-12-28 12:49:40 -08:00
en_main.c mlx4_en: Always allocate RX ring for each interrupt vector 2008-12-29 18:38:54 -08:00
en_netdev.c netdev: missing validate_address hooks 2009-01-11 00:06:42 -08:00
en_params.c mlx4_en: Returning real Max in get_ringparam 2009-01-08 10:57:37 -08:00
en_port.c
en_port.h
en_resources.c
en_rx.c net: Add skb_record_rx_queue() calls to multiqueue capable drivers. 2009-01-27 16:22:32 -08:00
en_tx.c mlx4_en: Consider inline packets on completion 2009-01-08 10:57:15 -08:00
eq.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
fw.c
fw.h
icm.c
icm.h
intf.c
main.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
Makefile mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
mcg.c mlx4: fix warning in drivers/net/mlx4/mcg.c 2008-11-25 16:57:59 -08:00
mlx4_en.h mlx4_en: Returning real Max in get_ringparam 2009-01-08 10:57:37 -08:00
mlx4.h mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
mr.c
pd.c
port.c mlx4_core: Don't leak mailbox for SET_PORT on Ethernet ports 2009-03-31 09:54:15 -07:00
profile.c mlx4_core: Fix min() warning 2009-01-15 20:43:56 -08:00
qp.c
reset.c
sense.c mlx4_core: Add link type autosensing 2009-03-18 19:45:11 -07:00
srq.c