aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2012-09-03 15:15:01 -0700
committerJesse Gross <jesse@nicira.com>2012-09-03 19:01:15 -0700
commit02978b5a83d59af0ac1afbfc254d2d896f9cc94a (patch)
tree2931fb4193fa9a00b5db31780473ad05bf316e8d /debian
parent6467e95332be63d83610a794a42c85bda387ab07 (diff)
datapath: Fix FLOW_BUFSIZE definition.
This is analogous to the change made in userspace with 2508ac16defd417b94fb69689b6b1da4fbc76282 (odp-util: Update ODPUTIL_FLOW_KEY_BYTES for current kernel flow format.). The extra space for vlan encapsulation was not included in the allocation for maximum length flows. Found by code inspection and to my knowledge has never been hit, likely because skb allocations are padded out to a cacheline, making userspace more susceptible to this problem than the kernel. In theory, however, the right combination of flow and packet size could result in a kernel panic. Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Kyle Mestery <kmestery@cisco.com>
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions