]> 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)
commite7d5a904841598ec4cc38f19f0d58338b506721a
treed2dcac15ed8a7c3d8bc02d4a6d7850f9d41cde6d
parent6e3cf0fa391183ebf4a7679a808d279e303f99fc
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