Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=96eba69dbac767f4e287df39e6fa489d37f1aa7b
Commit:     96eba69dbac767f4e287df39e6fa489d37f1aa7b
Parent:     a66207121f85c54a3df4d347a3c5bdf6cb154b09
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 13 05:24:40 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 14:57:44 2008 -0800

    [DECNET]: Fix inverted wait flag in xfrm_lookup call
    
    My previous patch made the wait flag take the opposite value to what
    it should be.  This patch fixes that.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/decnet/dn_route.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index 73a1307..b712d0b 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -1197,7 +1197,7 @@ int dn_route_output_sock(struct dst_entry **pprt, struct 
flowi *fl, struct sock
        err = __dn_route_output_key(pprt, fl, flags & MSG_TRYHARD);
        if (err == 0 && fl->proto) {
                err = xfrm_lookup(pprt, fl, sk, (flags & MSG_DONTWAIT) ?
-                                               XFRM_LOOKUP_WAIT : 0);
+                                               0 : XFRM_LOOKUP_WAIT);
        }
        return err;
 }
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to