]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Store flow key len if ARP opcode is not request or reply.
authorMehak Mahajan <mmahajan@nicira.com>
Tue, 30 Oct 2012 22:50:28 +0000 (15:50 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 31 Oct 2012 00:17:09 +0000 (17:17 -0700)
commite0b2b40c4d3803bbb0709369c049344bb7f9b4ab
treed2dcac15ed8a7c3d8bc02d4a6d7850f9d41cde6d
parent8310b08e40f31039f4bab5ca2c3223689f46a22d
openvswitch: Store flow key len if ARP opcode is not request or reply.

We currently only extract the ARP payload if the opcode indicates
that it is a request or reply.  However, we also only set the
key length in these situations even though it should still be
possible to match on the opcode.  There's no real reason to
restrict the ARP opcode since all have the same format so this
simply removes the check.

Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/flow.c