ofproto-dpif: Fix CONTROLLER actions for LLC frames.
authorEthan Jackson <ethan@nicira.com>
Thu, 22 Mar 2012 23:04:45 +0000 (16:04 -0700)
committerEthan Jackson <ethan@nicira.com>
Thu, 22 Mar 2012 23:15:28 +0000 (16:15 -0700)
commit0104aba86e4de01790ee0f1ffb96a1193fa3e04d
treee447aa2b53e25b47e55f8988404cedafe116d7a0
parent0acaddd05f24dd94da6002103b5a25b0371b10bb
ofproto-dpif: Fix CONTROLLER actions for LLC frames.

The CONTROLLER action assumed that all Ethernet frames stored their
Ethernet Type in the two bytes succeeding the source and
destination addresses.  This turns out not to be true for 802.2 LLC
frames, potentially causing an assertion failure.  This patch
solves the issue by skipping the assertion in this case.

Bug #10349.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c