]> git.baikalelectronics.ru Git - kernel.git/commit
enic: do notify_check before returning credits
authorSujith Sankar <ssujith@cisco.com>
Wed, 25 Feb 2015 09:56:55 +0000 (15:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 20:53:43 +0000 (15:53 -0500)
commitc2a7116887ed82468e294ee794e13b2ccac8a014
tree58e84252677c0f7b9f5b2f0fdad41d254ba640dd
parentd2809c28d518609b1a24e8fa6fc34c60aea97701
enic: do notify_check before returning credits

We should complete notify_check before returning the credits. Once we return the
credits, adaptor may access the notify data.

Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c