Re: [PATCH net] i40e: fix potential NULL pointer dereferencing

2021-01-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 11 Jan 2021 18:11:38 + you wrote: > Currently, the function i40e_construct_skb_zc only frees the input xdp > buffer when the output skb is successfully built. On error, the > function i40e_clean_rx_irq_zc does not co

Re: [PATCH net] i40e: fix potential NULL pointer dereferencing

2021-01-11 Thread Björn Töpel
On 2021-01-11 19:11, Cristian Dumitrescu wrote: Currently, the function i40e_construct_skb_zc only frees the input xdp buffer when the output skb is successfully built. On error, the function i40e_clean_rx_irq_zc does not commit anything for the current packet descriptor and simply exits the pack

[PATCH net] i40e: fix potential NULL pointer dereferencing

2021-01-11 Thread Cristian Dumitrescu
Currently, the function i40e_construct_skb_zc only frees the input xdp buffer when the output skb is successfully built. On error, the function i40e_clean_rx_irq_zc does not commit anything for the current packet descriptor and simply exits the packet descriptor processing loop, with the plan to re