netdev
[Top] [All Lists]

Re: [PATCH] RTNETLINK: Protocol family wildcard dumping for routing rule

To: tgraf@xxxxxxx (Thomas Graf)
Subject: Re: [PATCH] RTNETLINK: Protocol family wildcard dumping for routing rules
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 08 Apr 2005 08:09:05 +1000
Cc: davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050407213838.GW26731@postel.suug.ch>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686))
Thomas Graf <tgraf@xxxxxxx> wrote:
>
> diff -Nru a/net/core/rtnetlink.c b/net/core/rtnetlink.c
> --- a/net/core/rtnetlink.c      2005-04-07 23:13:33 +02:00
> +++ b/net/core/rtnetlink.c      2005-04-07 23:13:33 +02:00
> @@ -647,7 +647,8 @@
>        [RTM_GETROUTE - RTM_BASE] = { .dumpit = rtnetlink_dump_all    },
>        [RTM_NEWNEIGH - RTM_BASE] = { .doit   = neigh_add             },
>        [RTM_DELNEIGH - RTM_BASE] = { .doit   = neigh_delete          },
> -       [RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info       }
> +       [RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info       },
> +       [RTM_GETRULE  - RTM_BASE] = { .dumpit = rtnetlink_dump_all    }
> };

Just a trivial comment.  How about adding a comma at the end of the last
entry so that the next patch won't have to touch it?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>