OSDN Git Service

cls_rsvp: fix rsvp_policy
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / net / sched / cls_rsvp.h
index 9992dfa..7317a64 100644 (file)
@@ -455,10 +455,8 @@ static u32 gen_tunnel(struct rsvp_head *data)
 
 static const struct nla_policy rsvp_policy[TCA_RSVP_MAX + 1] = {
        [TCA_RSVP_CLASSID]      = { .type = NLA_U32 },
-       [TCA_RSVP_DST]          = { .type = NLA_BINARY,
-                                   .len = RSVP_DST_LEN * sizeof(u32) },
-       [TCA_RSVP_SRC]          = { .type = NLA_BINARY,
-                                   .len = RSVP_DST_LEN * sizeof(u32) },
+       [TCA_RSVP_DST]          = { .len = RSVP_DST_LEN * sizeof(u32) },
+       [TCA_RSVP_SRC]          = { .len = RSVP_DST_LEN * sizeof(u32) },
        [TCA_RSVP_PINFO]        = { .len = sizeof(struct tc_rsvp_pinfo) },
 };