aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlink/af_netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netlink/af_netlink.c')
-rw-r--r--net/netlink/af_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index f934f54fbfd5..a5bd63ca86bc 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -791,7 +791,7 @@ int netlink_attachskb(struct sock *sk, struct sk_buff *skb, int nonblock,
791 return 0; 791 return 0;
792} 792}
793 793
794int netlink_sendskb(struct sock *sk, struct sk_buff *skb, int protocol) 794int netlink_sendskb(struct sock *sk, struct sk_buff *skb)
795{ 795{
796 int len = skb->len; 796 int len = skb->len;
797 797
@@ -853,7 +853,7 @@ retry:
853 if (err) 853 if (err)
854 return err; 854 return err;
855 855
856 return netlink_sendskb(sk, skb, ssk->sk_protocol); 856 return netlink_sendskb(sk, skb);
857} 857}
858 858
859int netlink_has_listeners(struct sock *sk, unsigned int group) 859int netlink_has_listeners(struct sock *sk, unsigned int group)