]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: allocate enough data for ->arfs_fltr_bmap
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 19 Apr 2017 09:54:33 +0000 (12:54 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:31:50 +0000 (22:31 -0700)
commit236b61c1148a2b53b5bfef98aa10a9efa4dff24d
tree084cbc799c6aa417029af8070d5a8f0886c96950
parentc676f6e978d77764ec182f42283b11bbe212f339
qede: allocate enough data for ->arfs_fltr_bmap

Orabug: 26783820

We've got the number of longs, yes, but we should multiply by
sizeof(long) to get the number of bytes needed.

Fixes: e4917d46a653 ("qede: Add aRFS support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit f6ca26f26837f90727a1450f010a1638834e34e1 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_filter.c