commit | dc71db34e4f3c06b8277c8f3c2ff014610607a8c | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Sep 27 15:13:08 2018 +0100 |
committer | David Howells <dhowells@redhat.com> | Fri Sep 28 10:31:20 2018 +0100 |
tree | 24c55206f233ae13f999d814ee206d0d3842e936 | |
parent | 092ffc51fb3f9b8369e737c9320bf0bffb2c898f [diff] |
rxrpc: Fix checks as to whether we should set up a new call There's a check in rxrpc_data_ready() that's checking the CLIENT_INITIATED flag in the packet type field rather than in the packet flags field. Fix this by creating a pair of helper functions to check whether the packet is going to the client or to the server and use them generally. Fixes: 248f219cb8bc ("rxrpc: Rewrite the data and ack handling code") Signed-off-by: David Howells <dhowells@redhat.com>