kernel code

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
remove include pthread Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
replace hlist with list

user space hlist is taken from 3.x and RH uses 2.6
since API was changed we currently use the list API
which wasn't changed

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
krenel competability

replace strndup with kstrndup

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
continue kernel porting

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
fix null dereferencing error

When the allocatation of conn->initial_tasks_pool or
conn->primary_tasks_pool fails there was a goto to
cleanup label where conn->initial_tasks_pool->dd_data
or conn->primary_tasks_pool->dd_data where referenced.
Solution add a cleanup0 lable to goto in these cases.

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
kernel port with hello world

first milestone of working kernel hello world

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
sync with rdma iovec changes

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>