Re: [PATCH net] enic: fix rq disable

2016-10-29 Thread David Miller
From: Govindarajulu Varadarajan Date: Thu, 27 Oct 2016 16:01:03 -0700 > When MTU is changed from 9000 to 1500 while there is burst of inbound 9000 > bytes packets, adaptor sometimes delivers 9000 bytes packets to 1500 bytes > buffers. This causes memory corruption and

[PATCH net] enic: fix rq disable

2016-10-27 Thread Govindarajulu Varadarajan
When MTU is changed from 9000 to 1500 while there is burst of inbound 9000 bytes packets, adaptor sometimes delivers 9000 bytes packets to 1500 bytes buffers. This causes memory corruption and sometimes crash. This is because of a race condition in adaptor between "RQ disable" clearing descriptor