aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma/at_hdmac.c
diff options
context:
space:
mode:
authorJiasheng Jiang2021-10-14 01:26:26 +0000
committerJakub Kicinski2021-10-14 19:17:57 -0700
commit78e0a006914b9fc0dd714d68f0bb6e0f50c944f2 (patch)
tree3a31b21c087c8293d5446d02fb7d9b270f3434f8 /drivers/dma/at_hdmac.c
parentc47fedba94bc7f13e86033a6e72b6471d0f8838f (diff)
hv_netvsc: Add comment of netvsc_xdp_xmit()
Adding comment to avoid the misusing of netvsc_xdp_xmit(). Otherwise the value of skb->queue_mapping could be 0 and then the return value of skb_get_rx_queue() could be MAX_U16 cause by overflow. Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Link: https://lore.kernel.org/r/1634174786-1810351-1-git-send-email-jiasheng@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/dma/at_hdmac.c')
0 files changed, 0 insertions, 0 deletions