Re: [PATCH net-next 1/2] enic: reset fetch index

2017-10-29 Thread kbuild test robot
Hi Parvi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Parvi-Kaustubhi/enic-reset-fetch-index/20171029-102819 config: x86_64-randconfig-b0-10300925 (attached as .config) compiler: gcc-4.4 (De

Re: [PATCH net-next 1/2] enic: reset fetch index

2017-10-27 Thread David Miller
From: Parvi Kaustubhi Date: Thu, 26 Oct 2017 09:30:04 -0700 > Since we are allowing rx ring size modification, reset fetch index > everytime. Otherwise it could have a stale value that can lead to a null > pointer dereference. > > Signed-off-by: Govindarajulu Varadarajan > Signed-off-by: Parvi

[PATCH net-next 1/2] enic: reset fetch index

2017-10-26 Thread Parvi Kaustubhi
Since we are allowing rx ring size modification, reset fetch index everytime. Otherwise it could have a stale value that can lead to a null pointer dereference. Signed-off-by: Govindarajulu Varadarajan Signed-off-by: Parvi Kaustubhi --- drivers/net/ethernet/cisco/enic/vnic_rq.c | 14 ++-