mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[IPV6] MROUTE: Do not call ipv6_find_idev() directly.
Since NETDEV_REGISTER notifier chain is responsible for creating inet6_dev{}, we do not need to call ipv6_find_idev() directly here. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
671a1c7401
commit
cee8947338
3 changed files with 1 additions and 9 deletions
|
@ -117,9 +117,6 @@ struct sioc_mif_req6
|
|||
|
||||
#include <linux/skbuff.h> /* for struct sk_buff_head */
|
||||
|
||||
struct net_device;
|
||||
struct inet6_dev *ipv6_find_idev(struct net_device *dev);
|
||||
|
||||
#ifdef CONFIG_IPV6_MROUTE
|
||||
static inline int ip6_mroute_opt(int opt)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue