From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This makes priority set on a listen socket to be passed when accepting new connections. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- net/bluetooth/rfcomm/sock.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index 40988e2..81d658d 100644 --- a/net/bluetooth/rfcomm/sock.c +++ b/net/bluetooth/rfcomm/sock.c @@ -260,6 +260,7 @@ static void rfcomm_sock_init(struct sock *sk, struct sock *parent) if (parent) { sk->sk_type = parent->sk_type; + sk->sk_priority = parent->sk_priority; pi->dlc->defer_setup = bt_sk(parent)->defer_setup; pi->sec_level = rfcomm_pi(parent)->sec_level; -- 1.7.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html