[SCTP]: Use the flags value that is passed as an arg to sctp_accept.
authorSridhar Samudrala <sri@us.ibm.com>
Tue, 22 Aug 2006 07:24:09 +0000 (00:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:19 +0000 (14:55 -0700)
commit8abfedd889e46ad4977dfcdab737edf5c5803c62
tree0c2921fb1b708b7c06d9a0fd81defad0c7a9e562
parenteb5fa39f5ef490c72901b547ac5e7211efd47d56
[SCTP]: Use the flags value that is passed as an arg to sctp_accept.

No need to do multiple dereferences - sk->sk_socket->file->f_flags

Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c