Replace HTTP links with HTTPS ones: IPv*
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Mon, 6 Jul 2020 17:38:50 +0000 (19:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2020 20:23:03 +0000 (13:23 -0700)
commit7a6498ebcdc0fde4613a20ae405481d49166e8bb
treecd78d44323b974fd3229a832d97fe40f7b833eaa
parent1eafa7369f170ac7dbe06a3774e642084051d475
Replace HTTP links with HTTPS ones: IPv*

Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
          If both the HTTP and HTTPS versions
          return 200 OK and serve the same content:
            Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/Kconfig
net/ipv4/cipso_ipv4.c
net/ipv4/fib_trie.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/tcp_highspeed.c
net/ipv4/tcp_htcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_veno.c
net/ipv6/Kconfig