Commit:     dbb1db8b59fb84d620ab5266366b52c8052ee75c
Parent:     9a429c4983deae020f1e757ecc8f547b6d4e2f2b
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 1 23:52:59 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:00:32 2008 -0800

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/xfrm/xfrm_output.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c
index 81ad8eb..f4a1047 100644
--- a/net/xfrm/xfrm_output.c
+++ b/net/xfrm/xfrm_output.c
@@ -66,6 +66,7 @@ static int xfrm_output_one(struct sk_buff *skb, int err)
                        if (unlikely(x->replay.oseq == 0)) {
                                xfrm_audit_state_replay_overflow(x, skb);
+                               err = -EOVERFLOW;
                                goto error;
                        if (xfrm_aevent_is_on())
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to