• Dmitry Safonov's avatar
    net/tcp: Add tcp-md5 and tcp-ao tracepoints · 96be3dcd
    Dmitry Safonov authored
    Instead of forcing userspace to parse dmesg (that's what currently is
    happening, at least in codebase of my current company), provide a better
    way, that can be enabled/disabled in runtime.
    
    Currently, there are already tcp events, add hashing related ones there,
    too. Rasdaemon currently exercises net_dev_xmit_timeout,
    devlink_health_report, but it'll be trivial to teach it to deal with
    failed hashes. Otherwise, BGP may trace/log them itself. Especially
    exciting for possible investigations is key rotation (RNext_key
    requests).
    Suggested-by: default avatarJakub Kicinski <kuba@kernel.org>
    Signed-off-by: default avatarDmitry Safonov <0x7f454c46@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    96be3dcd
tcp_ao.c 64.6 KB