winverbs/driver: fix check for IP version
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sat, 8 Aug 2009 00:21:54 +0000 (00:21 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sat, 8 Aug 2009 00:21:54 +0000 (00:21 +0000)
commita7a455154cbee47a5e4642971bcb08f721005f04
tree21c7f546a2e89d0ed5e97b97561ed066d50e1875
parentf7f55ac162db442d370b39c106da637c1d241e86
winverbs/driver: fix check for IP version

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/trunk@2340 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/winverbs/kernel/wv_ep.c