• Eric Dumazet's avatar
    ipv4: shrink netns_ipv4 with sysctl conversions · 4b6bbf17
    Eric Dumazet authored
    These sysctls that can fit in one byte instead of one int
    are converted to save space and thus reduce cache line misses.
    
     - icmp_echo_ignore_all, icmp_echo_ignore_broadcasts,
     - icmp_ignore_bogus_error_responses, icmp_errors_use_inbound_ifaddr
     - tcp_ecn, tcp_ecn_fallback
     - ip_default_ttl, ip_no_pmtu_disc, ip_fwd_use_pmtu
     - ip_nonlocal_bind, ip_autobind_reuse
     - ip_dynaddr, ip_early_demux, raw_l3mdev_accept
     - nexthop_compat_mode, fwmark_reflect
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4b6bbf17
ipv4.h 5.74 KB