diff options
author | Chris Packham <judge.packham@gmail.com> | 2018-11-26 11:00:29 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-01-24 20:35:30 +0300 |
commit | 67bb984249442378ebb6a0eb68b6b0dd67dfbe72 (patch) | |
tree | 0a7d701e1fb79d59c7093d95a21d738027377e3e /net/eth_legacy.c | |
parent | 1a4af5c562fdb9f5a884a53f136f2b2075ffd1d8 (diff) | |
download | u-boot-67bb984249442378ebb6a0eb68b6b0dd67dfbe72.tar.xz |
net: remove CONFIG_MCAST_TFTP
No mainline board enables CONFIG_MCAST_TFTP and there have been
compilation issues with the code for some time. Additionally, it has a
potential buffer underrun issue (reported as a side note in
CVE-2018-18439).
Remove the multicast TFTP code but keep the driver API for the future
addition of IPv6.
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/eth_legacy.c')
-rw-r--r-- | net/eth_legacy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/eth_legacy.c b/net/eth_legacy.c index d2e16b8fa3..e250a430f3 100644 --- a/net/eth_legacy.c +++ b/net/eth_legacy.c @@ -291,7 +291,6 @@ int eth_initialize(void) return num_devices; } -#ifdef CONFIG_MCAST_TFTP /* Multicast. * mcast_addr: multicast ipaddr from which multicast Mac is made * join: 1=join, 0=leave. @@ -310,9 +309,6 @@ int eth_mcast_join(struct in_addr mcast_ip, int join) return eth_current->mcast(eth_current, mcast_mac, join); } -#endif - - int eth_init(void) { struct eth_device *old_current; |