datapath: Reduce loop limit by one to 4.
authorJesse Gross <jesse@nicira.com>
Tue, 12 Mar 2013 19:36:03 +0000 (12:36 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 12 Mar 2013 20:22:40 +0000 (13:22 -0700)
commit12c47631b1a2c7f01b71b34c462415dac3a07f68
tree4ea6090a72896672494662093d5dd647b5befa18
parent0ea8f97125aa75493be1e5530f8533612b7fe14b
datapath: Reduce loop limit by one to 4.

We currently allow five trips through the kernel datapath
before dropping the packet to protect the stack.  However, there
have been a few reports recently involving tunneling that this is
still too much.  Although it's not a complete solution, this reduces
the limit by one to balance safety in common situations with
flexibility.

Bug #15477

Reported-by: Paul Ingram <paul@nicira.com>
Reported-by: 謝秉融 <faithfulman@gmail.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/actions.c