search for: list_is_first

Displaying 2 results from an estimated 2 matches for "list_is_first".

2019 Sep 23
1
[RFC] VSOCK: add support for MSG_PEEK
...y(), here we can just do: (or better, at the beginning of the cycle) if (total == len) break; removing the next part... > + off += bytes; > + if (off == pkt->len) { > + pkt = list_next_entry(pkt, list); > + off = 0; > + } > + } while ((total < len) && !list_is_first(&pkt->list, &vvs->rx_queue)); ...until here. > + > + spin_unlock_bh(&vvs->rx_lock); > + > + return total; > + > +out: > + if (total) > + err = total; > + return err; > +} > + > +static ssize_t > virtio_transport_stream_do_dequeue(struc...
2020 Apr 01
0
[ANNOUNCE] nftables 0.9.4 release
...after flushing chain main: restore --debug evaluate: better error notice when interval flag is not set on tests: shell: set lookup and set update tests: shell: update list of rmmod modules tests: shell: validate error reporting with include and glob scanner: use list_is_first() from scanner_pop_indesc() parser: incorrect handle location src: initial extended netlink error reporting src: combine extended netlink error reporting with mispelling support mnl: extended error support for create command src: improve error reporting when setting po...