[riot-commits] [RIOT-OS/RIOT] c161fd: boards/same54-xpro: lock EUI provider to ethernet ...

benpicco noreply at github.com
Tue Jun 15 16:16:39 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c161fd8dbf2d6846a9498a8523e2150dde53ed67
      https://github.com/RIOT-OS/RIOT/commit/c161fd8dbf2d6846a9498a8523e2150dde53ed67
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M boards/same54-xpro/include/eui_provider_params.h

  Log Message:
  -----------
  boards/same54-xpro: lock EUI provider to ethernet interface

Otherwise the provider can be used for multiple interfaces but only
return a single MAC address for all of them.


  Commit: 204b80c6bfeed710436f2cbb2d274b316c0b5953
      https://github.com/RIOT-OS/RIOT/commit/204b80c6bfeed710436f2cbb2d274b316c0b5953
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M boards/native/include/eui_provider_params.h

  Log Message:
  -----------
  boards/native: lock EUI64 provider to ZEP interface


  Commit: 118e08607ad7343f96b073e0b4f558b6d0aba7f0
      https://github.com/RIOT-OS/RIOT/commit/118e08607ad7343f96b073e0b4f558b6d0aba7f0
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M sys/include/net/eui_provider.h
    M sys/net/link_layer/eui_provider/eui_provider.c

  Log Message:
  -----------
  net/eui_provider: prohibit use of NETDEV_ANY for EUI device type

The EUI provider function only gets the index of a device within it's
device type.
Using NETDEV_ANY with two devices of different type causes the EUI
provider to be used for both (since both interfaces are index 0 of
their type).

To prevent this, require EUI providers to be locked to an interface type.


  Commit: c7d12733eabdc67570739c20fe4896d37ff4ff6f
      https://github.com/RIOT-OS/RIOT/commit/c7d12733eabdc67570739c20fe4896d37ff4ff6f
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-06-15 (Tue, 15 Jun 2021)

  Changed paths:
    M boards/native/include/eui_provider_params.h
    M boards/same54-xpro/include/eui_provider_params.h
    M sys/include/net/eui_provider.h
    M sys/net/link_layer/eui_provider/eui_provider.c

  Log Message:
  -----------
  Merge pull request #16523 from benpicco/boards/same54-xpro-lock_eui

boards: lock EUI provider to interface type


Compare: https://github.com/RIOT-OS/RIOT/compare/a397bbb71322...c7d12733eabd


More information about the commits mailing list