+ n_hdlc-fix-read-and-write-locking-update.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     n_hdlc-fix-read-and-write-locking-update
has been added to the -mm tree.  Its filename is
     n_hdlc-fix-read-and-write-locking-update.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: n_hdlc-fix-read-and-write-locking-update
From: Paul Fulghum <paulkf@xxxxxxxxxxxxx>

Signed-off-by: Paul Fulghum <paulkf@xxxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/char/n_hdlc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/char/n_hdlc.c~n_hdlc-fix-read-and-write-locking-update drivers/char/n_hdlc.c
--- a/drivers/char/n_hdlc.c~n_hdlc-fix-read-and-write-locking-update
+++ a/drivers/char/n_hdlc.c
@@ -646,7 +646,7 @@ static ssize_t n_hdlc_tty_read(struct tt
 	}
 
 	remove_wait_queue(&tty->read_wait, &wait);
-	set_current_state(TASK_RUNNING);
+	__set_current_state(TASK_RUNNING);
 
 	return ret;
 	
@@ -719,7 +719,7 @@ static ssize_t n_hdlc_tty_write(struct t
 		}
 	}
 
-	set_current_state(TASK_RUNNING);
+	__set_current_state(TASK_RUNNING);
 	remove_wait_queue(&tty->write_wait, &wait);
 
 	if (!error) {		
_

Patches currently in -mm which might be from paulkf@xxxxxxxxxxxxx are

n_hdlc-fix-read-and-write-locking.patch
n_hdlc-fix-read-and-write-locking-update.patch
synclink_gt-fix-per-device-locking.patch
drivers-char-synclink_gtc-fix-information-leak-to-userland.patch
drivers-char-synclink_gtc-add-extended-sync-feature.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux