25 Jan, 2019

2 commits

  • 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
    Signed-off-by: Chris Packham
    Acked-by: Joe Hershberger

    Chris Packham
     
  • ether_crc was added to the core net code in commit 53a5c424bf86
    ("multicast tftp: RFC2090") so that other drivers could use it. However
    the only current user of it is tsec.c so move it there.

    Signed-off-by: Chris Packham
    Acked-by: Joe Hershberger

    Chris Packham
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

16 Aug, 2017

3 commits


08 Feb, 2017

1 commit

  • Commit 674bb249825a ("net: cosmetic: Replace magic numbers in arp.c with
    constants") introduced a nice define to replace the magic value 6 for
    the ethernet hardware address. Replace more hardcoded instances of 6
    which really reference the ARP_HLEN (iow the MAC/Hardware/Ethernet
    address).

    Signed-off-by: Olliver Schinagl
    Acked-by: Joe Hershberger

    oliver@schinagl.nl
     

14 Nov, 2016

1 commit

  • If mac-address is changed using "setenv ethaddr ...." command the new
    mac-adress also must be written into the responsible ethernet driver.
    This fixes the legacy ethernet handling.

    Signed-off-by: Marek Vasut
    Cc: Hannes Schmelzer
    Cc: Joe Hershberger
    Cc: Tom Rini
    Reviewed-by: Hannes Schmelzer

    Marek Vasut
     

24 Sep, 2016

1 commit


29 Jan, 2016

1 commit