net: filter: let unattached filters use sock_fprog_kern
[deliverable/linux.git] / net / core / ptp_classifier.c
index 37d86157b76ee3e572653c4455cb26b03fa50a8a..d3027a73fd4bbc152f13011cb09335af365f19dc 100644 (file)
@@ -133,7 +133,7 @@ void __init ptp_classifier_init(void)
                { 0x16,  0,  0, 0x00000000 },
                { 0x06,  0,  0, 0x00000000 },
        };
-       struct sock_fprog ptp_prog = {
+       struct sock_fprog_kern ptp_prog = {
                .len = ARRAY_SIZE(ptp_filter), .filter = ptp_filter,
        };
 
This page took 0.028189 seconds and 5 git commands to generate.