Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datapath: add skb_clone NULL check in the recirc action.
Refactoring recirc action implementation. The main change is to fix a bug where the NULL check after skb clone() call is missing. The fix is to return -ENOMEM whenever skb_clone() failed to create a clone. Also rearranged adjacent code to improve readability. Reported-by: Pravin B Shelar <[email protected]> Signed-off-by: Andy Zhou <[email protected]> Acked-by: Pravin B Shelar <[email protected]>
- Loading branch information