The default send buffer size of 8192 potentially can run past the end of the buffer (skb) and trash memory.
Explicitly setting a limit is required.
Index: package/linux-atm/files/br2684ctl =================================================================== --- package/linux-atm/files/br2684ctl (revision 25881) +++ package/linux-atm/files/br2684ctl (working copy) @@ -35,12 +35,15 @@ local qos config_get qos "$cfg" qos + local sendsize + config_get sendsize "$cfg" sendsize + local circuit="$atmdev.$vpi.$vci" local pid="/var/run/br2684ctl-$circuit.pid" start-stop-daemon -S -b -x /usr/sbin/br2684ctl -m -p "$pid" -- \ -c "$unit" -e "$encaps" -p "$payload" \ - -a "$circuit" ${qos:+-q "$qos"} + -a "$circuit" ${qos:+-q "$qos"} ${sendsize:+-s "$sendsize"} } start() {
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel