]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: correctly check failed allocation
authorInsu Yun <wuninsu@gmail.com>
Thu, 15 Oct 2015 18:02:28 +0000 (18:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Oct 2015 02:37:29 +0000 (19:37 -0700)
commitb1a20bd1dd122a364a310a2fc9078f108099c594
treeea6c9a572819d080cc1982779dd802eb110fad0c
parentd807324a7997bdda971941fb36e9c3955e7f31dc
xen-netback: correctly check failed allocation

Since vzalloc can be failed in memory pressure,
writes -ENOMEM to xenstore to indicate error.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/xenbus.c