[XFRM]: Fix xfrm_state_num going negative.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 13 Oct 2006 05:03:24 +0000 (22:03 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Oct 2006 06:14:18 +0000 (23:14 -0700)
commit918049f0135854a1583f9b3b88f44dbf2b027329
treeddddc6beed8bf1cbe472d2fe106de34cf1726faa
parent4663afe2c848e2abc8791202beecf40684f13eb4
[XFRM]: Fix xfrm_state_num going negative.

Missing counter bump when hashing in a new ACQ
xfrm_state.

Now that we have two spots to do the hash grow
check, break it out into a helper function.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c