git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: cdc_ncm: Reduce memory use when kernel memory low
[sfrench/cifs-2.6.git]
/
include
/
linux
/
usb
/
cdc_ncm.h
diff --git
a/include/linux/usb/cdc_ncm.h
b/include/linux/usb/cdc_ncm.h
index 00d232406f18dbd1b6c27d1d24ca4c417d200530..021f7a88f52c929ec804d856a8f6541e1c4c6490 100644
(file)
--- a/
include/linux/usb/cdc_ncm.h
+++ b/
include/linux/usb/cdc_ncm.h
@@
-117,6
+117,9
@@
struct cdc_ncm_ctx {
u32 tx_curr_frame_num;
u32 rx_max;
u32 tx_max;
+ u32 tx_curr_size;
+ u32 tx_low_mem_max_cnt;
+ u32 tx_low_mem_val;
u32 max_datagram_size;
u16 tx_max_datagrams;
u16 tx_remainder;