From: Ehsan Mohandesi
This series addresses the following.
1. Coverity Issue (CID 450971): Loop boundary variables should be
checked to be within appropriate limits.
2. Making the structure icmp6_ra_prefix_info packed because it
contains network protocol data
From: Ehsan Mohandesi
The structure icmp6_ra_prefix_info needs to be packed because it is read
from a network stream.
Signed-off-by: Ehsan Mohandesi
---
include/net6.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net6.h b/include/net6.h
index beafc05..1e766aa 100
From: Ehsan Mohandesi
The argument len passed to function process_ra is the length of the IPv6
router advertisement message and needs to be between 0 and MTU because
it is assigned to remaining_option_len and used as a loop variable.
Addresses-Coverity-ID: 450971 ("TAINTED_SCALAR")
Signed-off-by
From: Ehsan Mohandesi
In IPv6, the default gateway and prefix length are determined by receiving
a router advertisement as defined in -
https://www.rfc-editor.org/rfc/rfc4861.
Add support for sending router solicitation (RS) and processing router
advertisements (RA).
If the RA has prefix info o
From: Ehsan Mohandesi
Test router advertisement validation and processing functions.
Signed-off-by: Ehsan Mohandesi
---
test/dm/eth.c | 88 +++
1 file changed, 88 insertions(+)
diff --git a/test/dm/eth.c b/test/dm/eth.c
index ebf01d8..d0
From: Ehsan Mohandesi
Test the IPv6 network discovery feature if indicated by boardenv file.
Signed-off-by: Ehsan Mohandesi
---
configs/sandbox64_defconfig| 2 ++
configs/sandbox_defconfig | 2 ++
configs/sandbox_flattree_defconfig | 2 ++
test/py/tests/test_net.py
From: Ehsan Mohandesi
This series adds IPv6 network discovery to U-Boot. When an IPv6 command is
run in U-Boot, it sends a router solicitation (RS) message to the network.
The router on the network responds with a router advertisement (RA)
message. Then U-Boot processes the RA message and sets th
From: Ehsan Mohandesi
Test the IPv6 network discovery feature if indicated by boardenv file.
Signed-off-by: Ehsan Mohandesi
Conflicts:
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
---
configs/sandbox64_defconfig| 2 +
From: Ehsan Mohandesi
In IPv6, the default gateway and prefix length are determined by receiving
a router advertisement as defined in -
https://www.rfc-editor.org/rfc/rfc4861.
Add support for sending router solicitation (RS) and processing router
advertisements (RA).
If the RA has prefix info o
From: Ehsan Mohandesi
Test router advertisement validation and processing functions.
Signed-off-by: Ehsan Mohandesi
---
test/dm/eth.c | 88 +++
1 file changed, 88 insertions(+)
diff --git a/test/dm/eth.c b/test/dm/eth.c
index ebf01d8..d0
From: Ehsan Mohandesi
This series adds IPv6 network discovery to U-Boot. When an IPv6 command is
run in U-Boot, it sends a router solicitation (RS) message to the network.
The router on the network responds with a router advertisement (RA)
message. Then U-Boot processes the RA message and sets th
From: Ehsan Mohandesi
In IPv6, the default gateway and prefix length are determined by receiving
a router advertisement as defined in -
https://www.rfc-editor.org/rfc/rfc4861.
Add support for sending router solicitation (RS) and processing router
advertisements (RA).
If the RA has prefix info o
From: Ehsan Mohandesi
This reverts commit 0af1035a55d9c1486b2db43ee70ff0a63affd4f4.
Signed-off-by: Ehsan Mohandesi
Conflicts:
cmd/Kconfig
include/net.h
include/net6.h
net/net.c
---
include/net.h | 4 ++--
net/net.c | 3 +++
2 files changed, 5 insertions(+),
From: Ehsan Mohandesi
Test router advertisement validation and processing functions.
Signed-off-by: Ehsan Mohandesi
---
test/dm/eth.c | 88 +++
1 file changed, 88 insertions(+)
diff --git a/test/dm/eth.c b/test/dm/eth.c
index ebf01d8..d0
From: Ehsan Mohandesi
This series adds IPv6 network discovery to U-Boot. When an IPv6 command is
run in U-Boot, it sends a router solicitation (RS) message to the network.
The router on the network responds with a router advertisement (RA)
message. Then U-Boot processes the RA message and sets th
From: Ehsan Mohandesi
Test the IPv6 network discovery feature if indicated by boardenv file.
Signed-off-by: Ehsan Mohandesi
Conflicts:
configs/sandbox64_defconfig
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
---
configs/sandbox64_defconfig| 2 +
From: Ehsan Mohandesi
In IPv6, the default gateway and prefix length are determined by receiving
a router advertisement as defined in -
https://www.rfc-editor.org/rfc/rfc4861.
Add support for sending router solicitation (RS) and processing router
advertisements (RA).
If the RA has prefix info o
From: Ehsan Mohandesi
One extra character was being checked in the IPv6 string which caused the
last character of the address to be neither '\0' nor ':'. This raises an
error condition and causes the function to always return an error. This
issue was resolved by this fix.
Signed-off-by: Ehsan Mo
18 matches
Mail list logo