net: Add sysctl to toggle early demux for tcp and udp
[linux-2.6-block.git] / net / ipv6 / udp.c
index b793ed1d2a36960291b60de44b3cffea20861415..fd4b1c98a47230b94641c31fe3213b3dff6ac915 100644 (file)
@@ -1436,8 +1436,9 @@ int compat_udpv6_getsockopt(struct sock *sk, int level, int optname,
 }
 #endif
 
-static const struct inet6_protocol udpv6_protocol = {
+static struct inet6_protocol udpv6_protocol = {
        .early_demux    =       udp_v6_early_demux,
+       .early_demux_handler =  udp_v6_early_demux,
        .handler        =       udpv6_rcv,
        .err_handler    =       udpv6_err,
        .flags          =       INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL,