GoogleCloudPlatform / compute-virtual-ethernet-linux

Compute Engine Virtual Ethernet Linux driver.
Other
69 stars 31 forks source link

coccinelle: Fix napi_alloc_skb patch. #21

Closed DavMila closed 3 years ago

DavMila commented 3 years ago

Patch 2eb19b94a75d introduced an undefined variable error for kernels < 3.19. This patch corrects the error so that the "struct net_device* dev" parameter is correctly referred to by netdev_alloc_skb_ip_align.

Signed-off-by: David Awogbemila awogbemila@google.com