mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[IPV6] ADDRCONF: Convert ipv6_get_saddr() to ipv6_dev_get_saddr().
Since most users of ipv6_get_saddr() pass non-NULL as dst argument, use ipv6_dev_get_saddr() directly. Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
This commit is contained in:
parent
8082c37cdc
commit
5e5f3f0f80
7 changed files with 12 additions and 18 deletions
|
|
@ -73,9 +73,6 @@ extern struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net,
|
|||
struct net_device *dev,
|
||||
int strict);
|
||||
|
||||
extern int ipv6_get_saddr(struct dst_entry *dst,
|
||||
struct in6_addr *daddr,
|
||||
struct in6_addr *saddr);
|
||||
extern int ipv6_dev_get_saddr(struct net_device *dev,
|
||||
struct in6_addr *daddr,
|
||||
struct in6_addr *saddr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue