[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT PATCH] lib/uknetdev: UK_ETH_FRAME_8021AD_MAXLEN: Fix typo



This commit fixes a typo in the `UK_ETH_FRAME_8021AD_MAXLEN`
definition that causes also a compilation issue when using the
`UK_ETH_FRAME_MAXLEN` definition.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 lib/uknetdev/include/uk/netdev_core.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/uknetdev/include/uk/netdev_core.h 
b/lib/uknetdev/include/uk/netdev_core.h
index b9a994e3..e7fa97f2 100644
--- a/lib/uknetdev/include/uk/netdev_core.h
+++ b/lib/uknetdev/include/uk/netdev_core.h
@@ -103,7 +103,7 @@ UK_TAILQ_HEAD(uk_netdev_list, struct uk_netdev);
                                         UK_ETH_PAYLOAD_MAXLEN)
 #define UK_ETH_FRAME_8021Q_MAXLEN      (UK_ETH_HDR_8021_LEN + \
                                         UK_ETH_PAYLOAD_MAXLEN)
-#define UK_ETH_FRAME_8021AD_MAXLEN     (UK_ETH_HDR_8021ADLEN + \
+#define UK_ETH_FRAME_8021AD_MAXLEN     (UK_ETH_HDR_8021AD_LEN + \
                                         UK_ETH_PAYLOAD_MAXLEN)
 #define UK_ETH_FRAME_MAXLEN            (UK_ETH_FRAME_8021AD_MAXLEN)
 
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.