]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
test
authorseantywork <seantywork@gmail.com>
Thu, 19 Jun 2025 10:52:57 +0000 (11:52 +0100)
committerseantywork <seantywork@gmail.com>
Thu, 19 Jun 2025 10:52:57 +0000 (11:52 +0100)
kgpio-irqsock/kgpio_irqsk.c

index 7e01fdd26676a104922aa1fea08c3a585b066b2c..c02ed3d57ce97f048deeeb62796fe249fab1865c 100644 (file)
@@ -95,7 +95,7 @@ int geth_poll(struct napi_struct *napi, int budget){
 
        struct ethhdr *eh;
 
-       eh = (struct ethhdr*)buf;
+       eh = (struct ethhdr*)pkt.data;
 
        printk(KERN_INFO "eth proto: %04x\n", eh->h_proto);