]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd04d382980c86bdee9960c3eb157a73f8ed230cc
treed2dcac15ed8a7c3d8bc02d4a6d7850f9d41cde6d
parentc1c92b6a5b606e39e2181ac8eee2a0ca847542dc
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