commit | 98ba0bd5505dcbb90322a4be07bcfe6b8a18c73f | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Thu Aug 03 16:29:37 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 03 21:37:29 2017 -0700 |
tree | e9c2bbb059a118f41a5acf90e2a349ab704d8863 | |
parent | 84b7187ca2338832e3af58eb5123c02bb6921e4e [diff] |
sock: allocate skbs from optmem Add sock_omalloc and sock_ofree to be able to allocate control skbs, for instance for looping errors onto sk_error_queue. The transmit budget (sk_wmem_alloc) is involved in transmit skb shaping, most notably in TCP Small Queues. Using this budget for control packets would impact transmission. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>