]> Git Repo - linux.git/commit - net/vmw_vsock/vmci_transport.c
VSOCK: Return VMCI_ERROR_NO_MEM when fails to allocate skb
authorAsias He <[email protected]>
Thu, 20 Jun 2013 09:20:31 +0000 (17:20 +0800)
committerDavid S. Miller <[email protected]>
Mon, 24 Jun 2013 06:51:48 +0000 (23:51 -0700)
commitdce1a2877778fee172ab74411fcabd77bceb8e12
treeb42a4643fc4380a665dcba93c71f9786df23584e
parentb3a6dfe8178c5159e54117078134fef806a913ca
VSOCK: Return VMCI_ERROR_NO_MEM when fails to allocate skb

vmci_transport_recv_dgram_cb always return VMCI_SUCESS even if we fail
to allocate skb, return VMCI_ERROR_NO_MEM instead.

Signed-off-by: Asias He <[email protected]>
Acked-by: Andy King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/vmw_vsock/vmci_transport.c
This page took 0.057637 seconds and 4 git commands to generate.