[PATCH v2] net: add ETH_P_802_3_MIN

2013-03-27 Thread Simon Horman
Add a new constant ETH_P_802_3_MIN, the minimum ethernet type for an 802.3 frame. Frames with a lower value in the ethernet type field are Ethernet II. Also update all the users of this value that David Miller and I could find to use the new constant. Also correct a bug in util.c. The comparison

Re: [PATCH v2] net: add ETH_P_802_3_MIN

2013-03-27 Thread David Miller
From: Simon Horman ho...@verge.net.au Date: Thu, 28 Mar 2013 13:38:25 +0900 Add a new constant ETH_P_802_3_MIN, the minimum ethernet type for an 802.3 frame. Frames with a lower value in the ethernet type field are Ethernet II. Also update all the users of this value that David Miller and

Re: [PATCH v2] net: add ETH_P_802_3_MIN

2013-03-27 Thread Simon Horman
On Thu, Mar 28, 2013 at 01:21:08AM -0400, David Miller wrote: From: Simon Horman ho...@verge.net.au Date: Thu, 28 Mar 2013 13:38:25 +0900 Add a new constant ETH_P_802_3_MIN, the minimum ethernet type for an 802.3 frame. Frames with a lower value in the ethernet type field are Ethernet