tunneling: Update port pools on config change.
authorJesse Gross <jesse@nicira.com>
Sun, 5 Dec 2010 20:16:40 +0000 (12:16 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 10 Dec 2010 01:43:36 +0000 (17:43 -0800)
commit6569d3f419c96b18ea81a41ed13f2306119bcc00
tree57c8390c8bf872f8c696be83e738eb25482d7271
parent6068bd7c29bb2dcbb2aa7dd6c90a41c0839d162d
tunneling: Update port pools on config change.

We keep track of the number of tunnels using the different types of
matching in order to avoid doing the lookup when there are no ports
of that type.  However, when updating the configuration we weren't
changing the port pool counts, which could lead to incorrectly not
finding a tunnel on receive.

Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/tunnel.c