Re: [PATCH] cls_rsvp.h was outdated

From: Eric Dumazet
Date: Tue Aug 30 2011 - 07:38:30 EST


Le mardi 30 aoÃt 2011 Ã 13:11 +0200, "Igor MaraviÄ" a Ãcrit :
> File cls_rsvp.h in /net/sched was outdated. I'm sending you patch for this
> file.
> Patch was done against Linux 2.6.38-8
>
> Signed-off-by: Igor MaraviÄ <igorm@xxxxxx>
>
> --- linux-2.6.38.8/net/sched/cls_rsvp.h.orig 2011-08-30 12:46:42.663443918
> +0200

Two last points :

1) Your mail client added line wraps, please take a look at
Documentation/email-clients.txt


>
> static struct tcf_proto_ops RSVP_OPS = {
> - .next = NULL,
> + //.next = NULL,
> .kind = RSVP_ID,
> .classify = rsvp_classify,
> .init = rsvp_init,
>

2) Dont add // comments, just remove the line.

You also could add __read_mostly here :

static struct tcf_proto_ops RSVP_OPS __read_mostly = {


Thanks



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/