]> Git Repo - linux.git/commit
qede: allocate enough data for ->arfs_fltr_bmap
authorDan Carpenter <[email protected]>
Wed, 19 Apr 2017 09:54:33 +0000 (12:54 +0300)
committerDavid S. Miller <[email protected]>
Thu, 20 Apr 2017 20:23:23 +0000 (16:23 -0400)
commitf6ca26f26837f90727a1450f010a1638834e34e1
treeb1ce0c2277bc265f2876f72e2a312470273f5a74
parentd6ecf32805502cf76c61084c83a08ac42f9be4e5
qede: allocate enough data for ->arfs_fltr_bmap

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 <[email protected]>
Acked-by: Yuval Mintz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qlogic/qede/qede_filter.c
This page took 0.055508 seconds and 4 git commands to generate.