Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131898449
D11732.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D11732.id.diff
View Options
Index: head/sys/boot/efi/libefi/efinet.c
===================================================================
--- head/sys/boot/efi/libefi/efinet.c
+++ head/sys/boot/efi/libefi/efinet.c
@@ -187,6 +187,7 @@
EFI_SIMPLE_NETWORK *net;
EFI_HANDLE h;
EFI_STATUS status;
+ UINT32 mask;
if (nif->nif_driver->netif_ifs[nif->nif_unit].dif_unit < 0) {
printf("Invalid network interface %d\n", nif->nif_unit);
@@ -220,16 +221,14 @@
}
}
- if (net->Mode->ReceiveFilterSetting == 0) {
- UINT32 mask = EFI_SIMPLE_NETWORK_RECEIVE_UNICAST |
- EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST;
+ mask = EFI_SIMPLE_NETWORK_RECEIVE_UNICAST |
+ EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST;
- status = net->ReceiveFilters(net, mask, 0, FALSE, 0, NULL);
- if (status != EFI_SUCCESS) {
- printf("net%d: cannot set rx. filters (status=%lu)\n",
- nif->nif_unit, EFI_ERROR_CODE(status));
- return;
- }
+ status = net->ReceiveFilters(net, mask, 0, FALSE, 0, NULL);
+ if (status != EFI_SUCCESS) {
+ printf("net%d: cannot set rx. filters (status=%lu)\n",
+ nif->nif_unit, EFI_ERROR_CODE(status));
+ return;
}
#ifdef EFINET_DEBUG
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 13, 1:49 AM (14 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23650737
Default Alt Text
D11732.id.diff (1 KB)
Attached To
Mode
D11732: Always set the receive mask in loader.efi
Attached
Detach File
Event Timeline
Log In to Comment