[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091007.012341.70851712.davem@davemloft.net>
Date: Wed, 07 Oct 2009 01:23:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mail4ilia@...il.com
Cc: opurdila@...acom.com, netdev@...r.kernel.org
Subject: Re: [PATCH] add vif using local interface index instead of IP
From: "Ilia K." <mail4ilia@...il.com>
Date: Wed, 16 Sep 2009 18:53:07 +0300
> When routing daemon wants to enable forwarding of multicast traffic it
> performs something like:
...
> This leads (in the kernel) to calling vif_add() function call which
> search the (physical) device using assigned IP address:
> dev = ip_dev_find(net, vifc->vifc_lcl_addr.s_addr);
>
> The current API (struct vifctl) does not allow to specify an
> interface other way than using it's IP, and if there are more than a
> single interface with specified IP only the first one will be found.
>
> The attached patch (against 2.6.30.4) allows to specify an interface
> by its index, instead of IP address:
...
> Signed-off-by: Ilia K. <mail4ilia@...il.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists