hi, everybody.
I wrote a miniport driver for a NIC, and the driver pass WHQL HCT. but these days,
I encount a problem:
my friend wrote a HD-protect driver which writes IP address/Submask/gateway to
registry when windows XP booting. and after my miniport driver loaded, TCP/IP stack
will give some ARP packets to miniport driver to send, which will declaration its ownship
of the IP address. if no one response, OK, my computer will really occupy this IP address.
but, when I do reboot testing, my computer sometimes (very rarely) show it’s always
getting IP address, never stop.
I check my miniport driver, and found that TCP/IP stack never give any packets to
miniport driver.
If I disable network and re-enable it, the bug dispear.
Or I cancel the TPC/IP protocol in network property , and re-select it , the bug also gone.
when the bug exist, I ping another computer , miniport driver also get none packet from upper layer.
If I install winpcap3.1, and using its interface to send packets, my miniport driver
get these packets, and send them out.
so, I’m confused, it’s the miniport bug or microsoft TCP/IP stack bug or HD driver
bug ?
BTW. my system is windows XP + SP2
anyone meet this strange issue ?
it’s very kind of you if can explain it.
Best regards
Yee