Merge remote-tracking branch 'net-next/master'
This commit is contained in:
@@ -90,12 +90,18 @@ static int lowpan_neigh_construct(struct net_device *dev, struct neighbour *n)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int lowpan_get_iflink(const struct net_device *dev)
|
||||
{
|
||||
return lowpan_802154_dev(dev)->wdev->ifindex;
|
||||
}
|
||||
|
||||
static const struct net_device_ops lowpan_netdev_ops = {
|
||||
.ndo_init = lowpan_dev_init,
|
||||
.ndo_start_xmit = lowpan_xmit,
|
||||
.ndo_open = lowpan_open,
|
||||
.ndo_stop = lowpan_stop,
|
||||
.ndo_neigh_construct = lowpan_neigh_construct,
|
||||
.ndo_get_iflink = lowpan_get_iflink,
|
||||
};
|
||||
|
||||
static void lowpan_setup(struct net_device *ldev)
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <net/ieee802154_netdev.h>
|
||||
#include <net/6lowpan.h>
|
||||
#include <net/ipv6.h>
|
||||
#include <net/ipv6_frag.h>
|
||||
#include <net/inet_frag.h>
|
||||
|
||||
#include "6lowpan_i.h"
|
||||
|
@@ -400,4 +400,3 @@ module_exit(wpan_phy_class_exit);
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_DESCRIPTION("IEEE 802.15.4 configuration interface");
|
||||
MODULE_AUTHOR("Dmitry Eremin-Solenikov");
|
||||
|
||||
|
@@ -75,4 +75,3 @@ const struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = {
|
||||
[IEEE802154_ATTR_LLSEC_DEV_OVERRIDE] = { .type = NLA_U8, },
|
||||
[IEEE802154_ATTR_LLSEC_DEV_KEY_MODE] = { .type = NLA_U8, },
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user