diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/rtnetlink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c index 78ccbd4c4e37..a1b783a6afc6 100644 --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c | |||
@@ -112,7 +112,6 @@ static const int rtm_min[RTM_NR_FAMILIES] = | |||
112 | [RTM_FAM(RTM_NEWPREFIX)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), | 112 | [RTM_FAM(RTM_NEWPREFIX)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), |
113 | [RTM_FAM(RTM_GETMULTICAST)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), | 113 | [RTM_FAM(RTM_GETMULTICAST)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), |
114 | [RTM_FAM(RTM_GETANYCAST)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), | 114 | [RTM_FAM(RTM_GETANYCAST)] = NLMSG_LENGTH(sizeof(struct rtgenmsg)), |
115 | [RTM_FAM(RTM_NEWNEIGHTBL)] = NLMSG_LENGTH(sizeof(struct ndtmsg)), | ||
116 | }; | 115 | }; |
117 | 116 | ||
118 | static const int rta_max[RTM_NR_FAMILIES] = | 117 | static const int rta_max[RTM_NR_FAMILIES] = |
@@ -125,7 +124,6 @@ static const int rta_max[RTM_NR_FAMILIES] = | |||
125 | [RTM_FAM(RTM_NEWTCLASS)] = TCA_MAX, | 124 | [RTM_FAM(RTM_NEWTCLASS)] = TCA_MAX, |
126 | [RTM_FAM(RTM_NEWTFILTER)] = TCA_MAX, | 125 | [RTM_FAM(RTM_NEWTFILTER)] = TCA_MAX, |
127 | [RTM_FAM(RTM_NEWACTION)] = TCAA_MAX, | 126 | [RTM_FAM(RTM_NEWACTION)] = TCAA_MAX, |
128 | [RTM_FAM(RTM_NEWNEIGHTBL)] = NDTA_MAX, | ||
129 | }; | 127 | }; |
130 | 128 | ||
131 | void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data) | 129 | void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data) |