[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100105.155150.232916389.davem@davemloft.net>
Date: Tue, 05 Jan 2010 15:51:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: cfriesen@...tel.com
Cc: mst@...hat.com, eric.dumazet@...il.com, nhorman@...driver.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: packet: option to only pass skb protocol
From: "Chris Friesen" <cfriesen@...tel.com>
Date: Tue, 05 Jan 2010 16:13:29 -0600
> If SOCK_RAW packets are being sent, the protocol number is embedded in
> the packet data
Where exactly is that protocol value? Not every link level protocol
is ethernet.
We support FDDI, HIPPI, wireless, VLAN, PPP, and a host of others.
So you can't know for sure unless you assume ethernet, which you
can't do.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists