Module Name: src
Committed By: roy
Date: Tue Nov 15 09:14:28 UTC 2022
Modified Files:
src/sys/net: if_ethersubr.c
Log Message:
Revert prior.
To generate a diff of this commit:
cvs rdiff -u -r1.321 -r1.322 src/sys/net/if_ethersubr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_ethersubr.c
diff -u src/sys/net/if_ethersubr.c:1.321 src/sys/net/if_ethersubr.c:1.322
--- src/sys/net/if_ethersubr.c:1.321 Mon Nov 14 09:23:42 2022
+++ src/sys/net/if_ethersubr.c Tue Nov 15 09:14:28 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ethersubr.c,v 1.321 2022/11/14 09:23:42 roy Exp $ */
+/* $NetBSD: if_ethersubr.c,v 1.322 2022/11/15 09:14:28 roy Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.321 2022/11/14 09:23:42 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.322 2022/11/15 09:14:28 roy Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -886,10 +886,6 @@ ether_input(struct ifnet *ifp, struct mb
#endif
}
- /* Store the senders hardware address */
- m->m_pkthdr.l2_sha = &eh->ether_shost;
- m->m_pkthdr.l2_shalen = ETHER_ADDR_LEN;
-
/* Strip off the Ethernet header. */
m_adj(m, ehlen);