fix crash in x86 because memory page error
This commit is contained in:
parent
9987d76c30
commit
d6bfaa72e0
@ -224,7 +224,7 @@ index 487ace3..931607d 100644
|
|||||||
+ ro_enable = 0;
|
+ ro_enable = 0;
|
||||||
+ }
|
+ }
|
||||||
+#else
|
+#else
|
||||||
+ if (pte->pte & ~_PAGE_RW) {
|
+ if (pte->pte & _PAGE_RW) {
|
||||||
+ ro_enable = 0;
|
+ ro_enable = 0;
|
||||||
+ }
|
+ }
|
||||||
+#endif
|
+#endif
|
||||||
@ -268,7 +268,7 @@ index 487ace3..931607d 100644
|
|||||||
+ __sync_icache_dcache(*pte);
|
+ __sync_icache_dcache(*pte);
|
||||||
+ flush_tlb_all();
|
+ flush_tlb_all();
|
||||||
+#else
|
+#else
|
||||||
+ pte->pte |= pte->pte &~_PAGE_RW;
|
+ pte->pte &= ~_PAGE_RW;
|
||||||
+#endif
|
+#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
toa.spec
5
toa.spec
@ -5,7 +5,7 @@
|
|||||||
Name: TCP_option_address
|
Name: TCP_option_address
|
||||||
Summary: Intel(R) Ethernet Adaptive Virtual Function Driver
|
Summary: Intel(R) Ethernet Adaptive Virtual Function Driver
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 5
|
Release: 6
|
||||||
#Release: 0.%{krelver}
|
#Release: 0.%{krelver}
|
||||||
Vendor: Huawei
|
Vendor: Huawei
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
@ -107,6 +107,9 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 2 2022 sunsuwan<sunsuwan3@huawei.com> - 1.0.0-6
|
||||||
|
- fix crash in x86 because memory page error
|
||||||
|
|
||||||
* Tue Nov 1 2022 sunsuwan<sunsuwan3@huawei.com> - 1.0.0-5
|
* Tue Nov 1 2022 sunsuwan<sunsuwan3@huawei.com> - 1.0.0-5
|
||||||
- add sysctl to change opcode dynamic
|
- add sysctl to change opcode dynamic
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user