]> git.openfabrics.org - ~shefty/rdma-win.git/commit
winverbs/driver: fix check for IP version
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 10 Aug 2009 18:55:38 +0000 (18:55 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 10 Aug 2009 18:55:38 +0000 (18:55 +0000)
commit090136f7dccff209663f4488d6cc09d365afcd68
tree653151fa5f9dfe5c292b738865b5b319f9121fb0
parent1ede88cf9fa42217cb12a34281e532e01f33050e
winverbs/driver: fix check for IP version

merge commit 2339/2340

The IP version is in the upper 4 bits of an 8 bit field.  It is set
correctly, but not ready out correctly.  The result is that an IPv4
address reported to user space is listed as an IPv6 address instead.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2350 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
branches/WOF2-1/core/winverbs/kernel/wv_ep.c