summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-04-19 22:37:04 -0700
committerDavid S. Miller <davem@davemloft.net>2005-04-19 22:37:04 -0700
commit98f245e797a01611d6734c7d192240f1361439d3 (patch)
tree1b0c3ca312f7e38c065cfe9915d15efc1750d154
parent240eed95eb55b43a3daadbf0cd7298f44eaa737c (diff)
downloadlinux-3.10-98f245e797a01611d6734c7d192240f1361439d3.tar.gz
linux-3.10-98f245e797a01611d6734c7d192240f1361439d3.tar.bz2
linux-3.10-98f245e797a01611d6734c7d192240f1361439d3.zip
[RTNETLINK]: Add comma to final entry in link_rtnetlink_table
Noticed by Herbert Xu. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/rtnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 15e968c697c..44dfaf8f04a 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -648,7 +648,7 @@ static struct rtnetlink_link link_rtnetlink_table[RTM_MAX-RTM_BASE+1] =
[RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add },
[RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete },
[RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info },
- [RTM_GETRULE - RTM_BASE] = { .dumpit = rtnetlink_dump_all }
+ [RTM_GETRULE - RTM_BASE] = { .dumpit = rtnetlink_dump_all },
};
static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)