Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <linux/device.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/seq_file.h>
|
||||
#include <linux/security.h>
|
||||
#include <net/sock.h>
|
||||
|
||||
#include <asm/system.h>
|
||||
@@ -264,6 +265,8 @@ static void rfcomm_sock_init(struct sock *sk, struct sock *parent)
|
||||
|
||||
pi->sec_level = rfcomm_pi(parent)->sec_level;
|
||||
pi->role_switch = rfcomm_pi(parent)->role_switch;
|
||||
|
||||
security_sk_clone(parent, sk);
|
||||
} else {
|
||||
pi->dlc->defer_setup = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user