netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] ipv6_get_ifaddr(), alway called with strict =1
@ 2013-12-16 20:07 François-Xavier Le Bail
  2013-12-17 15:09 ` Hannes Frederic Sowa
  0 siblings, 1 reply; 2+ messages in thread
From: François-Xavier Le Bail @ 2013-12-16 20:07 UTC (permalink / raw)
  To: netdev

Hi,

Doubtless, this argument is no more usefull.

Any reason to keep it ?

François-Xavier

---

include/net/addrconf.h:struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net,
include/net/addrconf.h-                              const struct in6_addr *addr,
include/net/addrconf.h-                              struct net_device *dev, int strict);
--
net/ipv6/addrconf.c:struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, const struct in6_addr *addr,
net/ipv6/addrconf.c-                                 struct net_device *dev, int strict)
net/ipv6/addrconf.c-{
--
net/ipv6/addrconf.c:            ifp = ipv6_get_ifaddr(net, &addr, dev, 1);
--
net/ipv6/addrconf.c:    ifa = ipv6_get_ifaddr(net, pfx, dev, 1);
--
net/ipv6/addrconf.c:    ifa = ipv6_get_ifaddr(net, addr, dev, 1);
--
net/ipv6/ip6_output.c:          ifp = ipv6_get_ifaddr(net, &fl6->saddr,
net/ipv6/ip6_output.c-                                (*dst)->dev, 1);
--
net/ipv6/ndisc.c:       ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1);
--
net/ipv6/ndisc.c:               struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr,
net/ipv6/ndisc.c-                                                          dev, 1);
--
net/ipv6/ndisc.c:       ifp = ipv6_get_ifaddr(dev_net(dev), &msg->target, dev, 1);
--
net/ipv6/ndisc.c:       ifp = ipv6_get_ifaddr(dev_net(dev), &msg->target, dev, 1);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC] ipv6_get_ifaddr(), alway called with strict =1
  2013-12-16 20:07 [RFC] ipv6_get_ifaddr(), alway called with strict =1 François-Xavier Le Bail
@ 2013-12-17 15:09 ` Hannes Frederic Sowa
  0 siblings, 0 replies; 2+ messages in thread
From: Hannes Frederic Sowa @ 2013-12-17 15:09 UTC (permalink / raw)
  To: François-Xavier Le Bail; +Cc: netdev

On Mon, Dec 16, 2013 at 12:07:32PM -0800, François-Xavier Le Bail wrote:
> Hi,
> 
> Doubtless, this argument is no more usefull.
> 
> Any reason to keep it ?

Propose a patch if you are sure it really isn't needed. A quick look from my
side doesn't show potential future use cases.

Greetings,

  Hannes

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-17 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-16 20:07 [RFC] ipv6_get_ifaddr(), alway called with strict =1 François-Xavier Le Bail
2013-12-17 15:09 ` Hannes Frederic Sowa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).