openwrt/target/linux/generic/patches-3.18/652-atm_header_changes.patch
John Crispin f461ffbaad kernel: unbreak the atm abi
the lantiq dsl hack to struct atm_trafprm broke the ABI fix this by moving
the variables to the end of the struct

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46964
2015-09-16 08:32:01 +00:00

13 lines
456 B
Diff

--- a/include/uapi/linux/atm.h
+++ b/include/uapi/linux/atm.h
@@ -154,6 +154,9 @@
unsigned int adtf :10; /* ACR Decrease Time Factor (10-bit) */
unsigned int cdf :3; /* Cutoff Decrease Factor (3-bit) */
unsigned int spare :9; /* spare bits */
+ int scr; /* sustained rate in cells per second */
+ int mbs; /* maximum burst size (MBS) in cells */
+ int cdv; /* Cell delay varition */
};
struct atm_qos {