]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
openvswitch: Fix FLOW_BUFSIZE definition.
authorJesse Gross <jesse@nicira.com>
Tue, 4 Sep 2012 02:06:27 +0000 (19:06 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 4 Sep 2012 02:06:27 +0000 (19:06 -0700)
commitc303aa94cdae483a7577230e61720e126e600a52
treec004e6264f169f4b663e6a834968d7e12a1175ae
parent39855b5ba9a72a80de96009011b7f8b2fb01612b
openvswitch: Fix FLOW_BUFSIZE definition.

The vlan encapsulation fields in the maximum flow defintion were
never updated when the representation changed before upstreaming.
In theory this could cause a kernel panic when a maximum length
flow is used.  In practice this has never happened (to my knowledge)
because skb allocations are padded out to a cache line so you would
need the right combination of flow and packet being sent to userspace.

Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/flow.h