• N
    sctp: Add process name and pid to deprecation warnings · f916ec96
    Neil Horman 提交于
    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: NNeil 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: NDavid S. Miller <davem@davemloft.net>
    f916ec96
socket.c 200.3 KB