summaryrefslogtreecommitdiffstats
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-03-05 07:09:04 +0100
committerDavid S. Miller <davem@davemloft.net>2013-03-06 08:47:04 +0100
commita4ed2e737cb73e4405a3649f8aef7619b99fecae (patch)
tree6cc188dc7dd206790023fb360af4b1a886611855 /crypto/sha256_generic.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff)
downloadlinux-a4ed2e737cb73e4405a3649f8aef7619b99fecae.tar.xz
linux-a4ed2e737cb73e4405a3649f8aef7619b99fecae.zip
net/irda: Fix port open counts
Saving the port count bump is unsafe. If the tty is hung up while this open was blocking, the port count is zeroed. Explicitly check if the tty was hung up while blocking, and correct the port count if not. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions