Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IPV6]: Fix the data length of get destination options with short length
If get destination options with length which is not enough for that option,getsockopt() will still return the real length of the option, which is larger then the buffer space. This is because ipv6_getsockopt_sticky() returns the real length of the option. This patch fix this problem. Signed-off-by: Yang Hongyang <[email protected]> Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
- Loading branch information