[IPSEC]: Return EOVERFLOW when output sequence number overflows
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 2 Jan 2008 07:52:59 +0000 (23:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:32 +0000 (15:00 -0800)
commitdbb1db8b59fb84d620ab5266366b52c8052ee75c
tree3df775d08d9bf81494c184e2b6dc7390dbe0de54
parent9a429c4983deae020f1e757ecc8f547b6d4e2f2b
[IPSEC]: Return EOVERFLOW when output sequence number overflows

Previously we made it an error on the output path if the sequence number
overflowed.  However we did not set the err variable accordingly.  This
patch sets err to -EOVERFLOW in that case.

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