datapath: Increase maximum allocation size of action list.
authorPravin B Shelar <pshelar@nicira.com>
Sat, 23 Feb 2013 01:16:11 +0000 (17:16 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Sat, 23 Feb 2013 01:16:11 +0000 (17:16 -0800)
commit82b0d755094ec675ea1a49b4ae58bc1c5e8e51c2
tree2b4a11802ae9afa08cef358ce88aec23a31ab1a3
parentddbc59545912fd7ec42cd89fdd57fe91d3b8377d
datapath: Increase maximum allocation size of action list.

The switch to flow based tunneling increased the size of each output
action in the flow action list.  In extreme cases, this can result
in the action list exceeding the maximum buffer size.

This doubles the maximum buffer size to compensate for the increase
in action size.  In the common case, most allocations will be
less than a page and those uses kmalloc.  Therefore, for the majority
of situations, this will have no impact.

Bug #15203
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
datapath/flow.c
datapath/flow.h