]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sctp: Add process name and pid to deprecation warnings
authorNeil Horman <nhorman@tuxdriver.com>
Thu, 2 Jan 2014 17:54:27 +0000 (12:54 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jan 2014 00:36:46 +0000 (19:36 -0500)
commitf916ec9608af017dda3e0fa7b5c6a344fc05285e
tree5de8cba646cb8878c23e5517115c49f01dd27d86
parent2d4dda781fc1e9c929a1f699119b91eddbcf475c
sctp: Add process name and pid to deprecation warnings

Recently I updated the sctp socket option deprecation warnings to be both a bit
more clear and ratelimited to prevent user processes from spamming the log file.
Ben Hutchings suggested that I add the process name and pid to these warnings so
that users can tell who is responsible for using the deprecated apis.  This
patch accomplishes that.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Vlad Yasevich <vyasevich@gmail.com>
CC: Ben Hutchings <bhutchings@solarflare.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c