diff options
| author | Pablo Neira Ayuso <[email protected]> | 2021-05-17 14:43:08 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2021-05-29 01:04:53 +0200 |
| commit | e0241ae6ac59ffa318255640c047f7c90457fbe5 (patch) | |
| tree | 9890948665521743f4285208149bd828ce7c0c0b /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 02d85142670b6676abcfd95023c8d28288dc5ad9 (diff) | |
netfilter: use nfnetlink_unicast()
Replace netlink_unicast() calls by nfnetlink_unicast() which already
deals with translating EAGAIN to ENOBUFS as the nfnetlink core expects.
nfnetlink_unicast() calls nlmsg_unicast() which returns zero in case of
success, otherwise the netlink core function netlink_rcv_skb() turns
err > 0 into an acknowlegment.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions