tunneling: Fix updated port pools commit.
authorJesse Gross <jesse@nicira.com>
Fri, 10 Dec 2010 01:52:39 +0000 (17:52 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 10 Dec 2010 01:52:39 +0000 (17:52 -0800)
commit09da9c7dadbfc6b3164eb5f85cbb3ca552399f4e
treefd8f870492a4df994f6cecb9b36d9e1b85f87e76
parentfb016a60434e3890ef4db2ccfa23fa1948c6b9f5
tunneling: Fix updated port pools commit.

If readding a tunnel to the table fails during move_port(), we
should decrement the port pool counter that it is in.  However,
when I attempted to do this, I accidentally put it in add_port().

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