summaryrefslogtreecommitdiff
path: root/net/core/rtnetlink.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-12-19 13:37:34 -0800
committerDavid S. Miller <davem@davemloft.net>2018-12-19 13:37:34 -0800
commit24894bc6eabc43f55f5470767780ac07db18e797 (patch)
tree36ca9571609e175b43f1602af01fdaa75bae45e2 /net/core/rtnetlink.c
parent4ab0edecaf1d9a4acb5bddc4a869b0f7efda634a (diff)
parent8deecf3557cca7d80fb5157f0858b738f8eebbc7 (diff)
Merge branch 'neigh-get-support'
Roopa Prabhu says: ==================== neigh get support This series adds support for neigh get similar to route and recently added fdb get. v2: fix key len check. and some other fixes ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
-rw-r--r--net/core/rtnetlink.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index baf2685b4da2..48f61885fd6f 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -3460,18 +3460,6 @@ void rtmsg_ifinfo_newnet(int type, struct net_device *dev, unsigned int change,
new_nsid, new_ifindex);
}
-static const struct nla_policy nda_policy[NDA_MAX+1] = {
- [NDA_DST] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
- [NDA_LLADDR] = { .type = NLA_BINARY, .len = MAX_ADDR_LEN },
- [NDA_CACHEINFO] = { .len = sizeof(struct nda_cacheinfo) },
- [NDA_PROBES] = { .type = NLA_U32 },
- [NDA_VLAN] = { .type = NLA_U16 },
- [NDA_PORT] = { .type = NLA_U16 },
- [NDA_VNI] = { .type = NLA_U32 },
- [NDA_IFINDEX] = { .type = NLA_U32 },
- [NDA_MASTER] = { .type = NLA_U32 },
-};
-
static int nlmsg_populate_fdb_fill(struct sk_buff *skb,
struct net_device *dev,
u8 *addr, u16 vid, u32 pid, u32 seq,