[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090521.151517.119887326.davem@davemloft.net>
Date: Thu, 21 May 2009 15:15:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] af_packet: Teach to listen for multiple unicast
addresses.
From: ebiederm@...ssion.com (Eric W. Biederman)
Date: Tue, 19 May 2009 21:27:17 -0700
>
> The the PACKET_ADD_MEMBERSHIP and the PACKET_DROP_MEMBERSHIP setsockopt
> calls for af_packet already has all of the infrastructure needed to subscribe
> to multiple mac addresses. All that is missing is a flag to say that
> the address we want to listen on is a unicast address.
>
> So introduce PACKET_MR_UNICAST and wire it up to dev_unicast_add and
> dev_unicast_delete.
>
> Additionally I noticed that errors from dev_mc_add were not propagated
> from packet_dev_mc so fix that.
>
> Signed-off-by: Eric W. Biederman <ebiederm@...stanetworks.com>
Looks good, applied to net-next-2.6
--
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