]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/ip_options.c
cipso: Add support for native local labeling and fixup mapping names
[~andy/linux] / net / ipv4 / ip_options.c
index be3f18a7a40ebbbf4f40ef90bfea8702fd4f1fae..2c88da6e7862f2b49d4d9ba17197eb9d10205fe8 100644 (file)
@@ -438,7 +438,7 @@ int ip_options_compile(struct net *net,
                                goto error;
                        }
                        opt->cipso = optptr - iph;
-                       if (cipso_v4_validate(&optptr)) {
+                       if (cipso_v4_validate(skb, &optptr)) {
                                pp_ptr = optptr;
                                goto error;
                        }