]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/lockd/svclock.c
[TCP]: NewReno must count every skb while marking losses
[linux-2.6-omap-h63xx.git] / fs / lockd / svclock.c
index d098c7af0d22e0b677ff34566087c0ff5ddaaf40..d120ec39bcb0ea5c472fc7c1f3ba277b9308709d 100644 (file)
@@ -485,8 +485,10 @@ nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file,
                        return nlm_granted;
                /* Create host handle for callback */
                host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len);
-               if (host == NULL)
+               if (host == NULL) {
+                       kfree(conf);
                        return nlm_lck_denied_nolocks;
+               }
                block = nlmsvc_create_block(rqstp, host, file, lock, cookie);
                if (block == NULL) {
                        kfree(conf);