commit | 94f06418cee89dda10e4d0180f05db61041077d8 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun Feb 20 13:58:06 2011 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 20 13:58:06 2011 -0800 |
tree | 495cc67fceb93865c88f6e0813169b439da2d927 | |
parent | 57f9cbde71e67450b31308e9b7cd3f016e5f18da [diff] |
route_bench: Filter out all responses. Install a socket filter to reduce the pure netlink overhead. Unfortunately the libmnl library does not provide a way to set socket options that are of level other than SOL_NETLINK. So we hack it by knowing some things about libmnl internals. Signed-off-by: David S. Miller <davem@davemloft.net>