Go to file
Ravi kumar Veeramally ead511ddae net: Fix net_nbuf_read corner cases
Valid case:
 1) If the offset is more than current fragment length, adjusts offset
    from next relevant fragment and starts reading or skipping.
 2) If the read or skip length is more than available data length,
    then throw an error.

In case of an error, frag is 'NULL' pos is '0xffff'. Rest of the cases
are successful read and skip.

Change-Id: I88c4b85e14e5821f681966b5148ba9519b91cca4
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2016-12-02 12:40:49 +02:00
.known-issues known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
arch arc: move disabling/invalidation of caches earlier 2016-11-30 23:47:46 +00:00
boards net: Add TI_CC2520 RAW driver 2016-12-02 12:40:46 +02:00
doc net: User connectivity API documentation 2016-12-02 12:40:27 +02:00
drivers drivers: cc2520: Fix LQI computation and generalize it 2016-12-02 12:40:47 +02:00
ext tinycrypt/sha256: Array compared to NULL has no effect 2016-11-22 01:59:10 +00:00
include net: Fix net_nbuf_read corner cases 2016-12-02 12:40:49 +02:00
kernel kernel: fix race condition when spawning a thread with a delay 2016-11-30 23:48:06 +00:00
lib iot/dns: Add DNS Client support for Zephyr 2016-12-02 12:40:49 +02:00
misc build: x86: add some flexibility in custom linker scripts 2016-11-30 22:47:02 +00:00
net net: Fix net_nbuf_read corner cases 2016-12-02 12:40:49 +02:00
samples iot/dns: Add DNS Client sample app 2016-12-02 12:40:49 +02:00
scripts net: Remove nbr_data section as it is useless 2016-12-02 12:40:27 +02:00
subsys usb :mass_storage: correct the license details 2016-12-02 02:11:34 +00:00
tests net: Fix net_nbuf_read corner cases 2016-12-02 12:40:49 +02:00
.checkpatch.conf checkpatch: ignore CONST_STRUCT warnings 2016-11-11 22:12:22 +00:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: update with new emails 2016-10-07 16:15:24 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
Kbuild build: remove old kernel support 2016-11-07 11:34:18 -08:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
MAINTAINERS MAINTAINERS: fix email address 2016-12-01 19:07:49 -05:00
Makefile build: x86: add some flexibility in custom linker scripts 2016-11-30 22:47:02 +00:00
Makefile.inc build: Document outputexports 2016-11-12 02:08:08 +00:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00