From: Tom Herbert <>
Date: Tue, 18 Oct 2016 10:02:36 -0700

> v3:
>   - Fix build issues with modules that call IPv6 functions and
>     CONFIG_INET is not set.
>   - Fix compilation error in init'ing .flow_dissect in IPv6 UDP
>     offload.

Still doesn't build:

net/ipv6/udp_offload.c:208:19: error: initialization from incompatible pointer 
type [-Werror=incompatible-pointer-types]
   .flow_dissect = udp6_flow_dissect,
net/ipv6/udp_offload.c:208:19: note: (near initialization for 
cc1: some warnings being treated as errors
scripts/ recipe for target 'net/ipv6/udp_offload.o' failed
make[2]: *** [net/ipv6/udp_offload.o] Error 1
make[2]: *** Waiting for unfinished jobs....
scripts/ recipe for target 'net/ipv6' failed
make[1]: *** [net/ipv6] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:969: recipe for target 'net' failed
make: *** [net] Error 2
make: *** Waiting for unfinished jobs....

The final argument to udp6_flow_dissect() is marked const but that is not what 
method definition wants.

Reply via email to