[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100330093055.49336856@nehalam>
Date: Tue, 30 Mar 2010 09:30:55 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: James Chapman <jchapman@...alix.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v3 10/12] l2tp: Add L2TP ethernet pseudowire support
On Tue, 30 Mar 2010 17:18:19 +0100
James Chapman <jchapman@...alix.com> wrote:
> +
> + /* Derive a MAC address for the new interface. We use the L2TP
> + * session's session-id to guarantee a system-wide unique
> + * address. This MAC is only visible within the L2TP session.
> + */
> + dev->dev_addr[0] = 0x02; /* IEEE 802 local */
> + dev->dev_addr[1] = 'L';
> + memcpy(&dev->dev_addr[2], &sid, 4);
Why not random ether address?
--
--
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