: Re: [PATCH net] virtio_net: fix return value check in
receive_mergeable()
On 2017年12月04日 14:02, wangyunjian wrote:
From: Yunjian Wang <wangyunj...@huawei.com>
The function virtqueue_get_buf_ctx() could return NULL, the return
value 'buf' need to be checked with NULL, not value
On 2017年12月04日 19:25, wangyunjian wrote:
-Original Message-
From: Jason Wang [mailto:jasow...@redhat.com]
Sent: Monday, December 04, 2017 3:10 PM
To: wangyunjian ; linux-
ker...@vger.kernel.org
Cc: m...@redhat.com; caihe
Subject: Re: [PATCH net] virtio_net: fix return value check
> -Original Message-
> From: Jason Wang [mailto:jasow...@redhat.com]
> Sent: Monday, December 04, 2017 3:10 PM
> To: wangyunjian <wangyunj...@huawei.com>; linux-
> ker...@vger.kernel.org
> Cc: m...@redhat.com; caihe <ca...@huawei.com>
> Subject: Re: [
> -Original Message-
> From: Jason Wang [mailto:jasow...@redhat.com]
> Sent: Monday, December 04, 2017 3:10 PM
> To: wangyunjian ; linux-
> ker...@vger.kernel.org
> Cc: m...@redhat.com; caihe
> Subject: Re: [PATCH net] virtio_net: fix return value check i
On 2017年12月04日 14:02, wangyunjian wrote:
From: Yunjian Wang
The function virtqueue_get_buf_ctx() could return NULL, the return
value 'buf' need to be checked with NULL, not value 'ctx'.
Signed-off-by: Yunjian Wang
---
On 2017年12月04日 14:02, wangyunjian wrote:
From: Yunjian Wang
The function virtqueue_get_buf_ctx() could return NULL, the return
value 'buf' need to be checked with NULL, not value 'ctx'.
Signed-off-by: Yunjian Wang
---
drivers/net/virtio_net.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Yunjian Wang
The function virtqueue_get_buf_ctx() could return NULL, the return
value 'buf' need to be checked with NULL, not value 'ctx'.
Signed-off-by: Yunjian Wang
---
drivers/net/virtio_net.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Yunjian Wang
The function virtqueue_get_buf_ctx() could return NULL, the return
value 'buf' need to be checked with NULL, not value 'ctx'.
Signed-off-by: Yunjian Wang
---
drivers/net/virtio_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
8 matches
Mail list logo