jadonk / jadonk/rowboat

My kernel_bind is failing with return value of -99

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
ret = kernel_bind(app_data1.appscktptr, (struct sockaddr *) &app_addr, addrlen);
if (ret < 0) {
printk(KERN_ALERT "ISHITA:7 kernel_bind failed and return val is: %d \n", ret);
}

What is the expected output? What do you see instead?
kernel_bind shouldn't fail

What version of the product are you using? On what operating system?
froyo version on linux server

Please provide any additional information below.
Could you please tell me where I can find the error codes, like what does
kernel_bind return value -99 mean? And what could lead to such an error?

```

Original issue reported on code.google.com by `raghu.ra...@gmail.com` on 17 Apr 2011 at 4:16

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin with the kernel_bind call shown in the issue and consult the Linux/Froyo error definitions for return value -99. Trace the supplied socket, sockaddr, and address length arguments to identify the cause; done means documenting what -99 represents and the conditions that produce it.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.