summaryrefslogtreecommitdiffstats
path: root/include/net/l3mdev.h
diff options
context:
space:
mode:
authorDavid Ahern2016-09-10 21:09:59 +0200
committerDavid S. Miller2016-09-11 08:12:53 +0200
commit8a966fc016b67d2a8ab4a83d22ded8cde032a0eb (patch)
tree2cbab40ee68d47275ac7cf583ab1a5197bd6bd96 /include/net/l3mdev.h
parentnet: ipv4: Remove l3mdev_get_saddr (diff)
downloadkernel-qcow2-linux-8a966fc016b67d2a8ab4a83d22ded8cde032a0eb.tar.gz
kernel-qcow2-linux-8a966fc016b67d2a8ab4a83d22ded8cde032a0eb.tar.xz
kernel-qcow2-linux-8a966fc016b67d2a8ab4a83d22ded8cde032a0eb.zip
net: ipv6: Remove l3mdev_get_saddr6
No longer needed Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/l3mdev.h')
-rw-r--r--include/net/l3mdev.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/net/l3mdev.h b/include/net/l3mdev.h
index 1129e1d8cd6e..a5e506eb51de 100644
--- a/include/net/l3mdev.h
+++ b/include/net/l3mdev.h
@@ -43,9 +43,6 @@ struct l3mdev_ops {
/* IPv6 ops */
struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
struct flowi6 *fl6);
- int (*l3mdev_get_saddr6)(struct net_device *dev,
- const struct sock *sk,
- struct flowi6 *fl6);
};
#ifdef CONFIG_NET_L3_MASTER_DEV
@@ -172,8 +169,6 @@ static inline bool netif_index_is_l3_master(struct net *net, int ifindex)
}
struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6);
-int l3mdev_get_saddr6(struct net *net, const struct sock *sk,
- struct flowi6 *fl6);
static inline
struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto)
@@ -292,12 +287,6 @@ struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6)
return NULL;
}
-static inline int l3mdev_get_saddr6(struct net *net, const struct sock *sk,
- struct flowi6 *fl6)
-{
- return 0;
-}
-
static inline
struct sk_buff *l3mdev_ip_rcv(struct sk_buff *skb)
{