diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-09 22:49:25 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-07-16 02:41:34 +0200 |
commit | e63a22828432fd1739681be09814b5a5ce69a556 (patch) | |
tree | e2290b438f448d4492e5ff293ff31696e1384db5 | |
parent | netpoll: Remove unused inline function netpoll_netdev_init() (diff) | |
download | linux-e63a22828432fd1739681be09814b5a5ce69a556.tar.xz linux-e63a22828432fd1739681be09814b5a5ce69a556.zip |
net: sundance: Replace HTTP links with HTTPS ones
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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
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: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/dlink/sundance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dlink/sundance.c b/drivers/net/ethernet/dlink/sundance.c index ca97e321082d..b3f8597e77aa 100644 --- a/drivers/net/ethernet/dlink/sundance.c +++ b/drivers/net/ethernet/dlink/sundance.c @@ -18,7 +18,7 @@ http://www.scyld.com/network/sundance.html [link no longer provides useful info -jgarzik] Archives of the mailing list are still available at - http://www.beowulf.org/pipermail/netdrivers/ + https://www.beowulf.org/pipermail/netdrivers/ */ |