xfrm: Remove xfrm_state_genid
commit34996cb91dd72f0b0456d8fd3fef4aaee62232f2
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 31 Mar 2010 01:19:49 +0000 (31 01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 02:41:34 +0000 (1 19:41 -0700)
tree404cfd62ecc437a83ffecdaf86560bbe9e8fdb7e
parentbd2c77a0a749589b45f2697ea446a4438d078f9b
xfrm: Remove xfrm_state_genid

The xfrm state genid only needs to be matched against the copy
saved in xfrm_dst.  So we don't need a global genid at all.  In
fact, we don't even need to initialise it.

Based on observation by Timo Teräs.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c