aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2007-03-22 14:50:06 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:27:06 -0400
commitc8822a4e00442e65d42d50db8e529d75c2025630 (patch)
tree127ce686af9e562e997d75ecabb6c7acca4c0b12 /net/core/rtnetlink.c
parent340d17fc9d577c93678850e46963e9b19b92db7e (diff)
[NEIGH]: Use rtnl registration interface
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r--net/core/rtnetlink.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 83513732000..3044702f7d9 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -963,16 +963,11 @@ static struct rtnetlink_link link_rtnetlink_table[RTM_NR_MSGTYPES] =
963{ 963{
964 [RTM_GETADDR - RTM_BASE] = { .dumpit = rtnl_dump_all }, 964 [RTM_GETADDR - RTM_BASE] = { .dumpit = rtnl_dump_all },
965 [RTM_GETROUTE - RTM_BASE] = { .dumpit = rtnl_dump_all }, 965 [RTM_GETROUTE - RTM_BASE] = { .dumpit = rtnl_dump_all },
966 [RTM_NEWNEIGH - RTM_BASE] = { .doit = neigh_add },
967 [RTM_DELNEIGH - RTM_BASE] = { .doit = neigh_delete },
968 [RTM_GETNEIGH - RTM_BASE] = { .dumpit = neigh_dump_info },
969#ifdef CONFIG_FIB_RULES 966#ifdef CONFIG_FIB_RULES
970 [RTM_NEWRULE - RTM_BASE] = { .doit = fib_nl_newrule }, 967 [RTM_NEWRULE - RTM_BASE] = { .doit = fib_nl_newrule },
971 [RTM_DELRULE - RTM_BASE] = { .doit = fib_nl_delrule }, 968 [RTM_DELRULE - RTM_BASE] = { .doit = fib_nl_delrule },
972#endif 969#endif
973 [RTM_GETRULE - RTM_BASE] = { .dumpit = rtnl_dump_all }, 970 [RTM_GETRULE - RTM_BASE] = { .dumpit = rtnl_dump_all },
974 [RTM_GETNEIGHTBL - RTM_BASE] = { .dumpit = neightbl_dump_info },
975 [RTM_SETNEIGHTBL - RTM_BASE] = { .doit = neightbl_set },
976}; 971};
977 972
978static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr) 973static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr)