]> git.baikalelectronics.ru Git - kernel.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)
commiteaf6cc65d196d1183f27e466e681bd2809738090
treec004e6264f169f4b663e6a834968d7e12a1175ae
parent6ca0f70475395f66c142b6296fbb22da2c3d547c
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