On Sonntag, 12. Februar 2017 11:26:33 CET Sven Eckelmann wrote:
> The function batadv_frag_skb_buffer was supposed not to consume the skbuff
> on errors. This was followed in the helper function
> batadv_frag_insert_packet when the skb would potentially be inserted in the
> fragment queue. But it
On Montag, 13. Februar 2017 20:44:31 CET Linus Lüssing wrote:
> Trying to split and transmit a unicast packet in 16 parts will fail for
> the final fragment: After having sent the 15th one with a frag_packet.no
> index of 14, we will increase the the index to 15 - and return with an
> error code
>> And we had this discussion before [1]. Not sure why you are now
>> pretending that this never happened.
sorry for that .
i had so much discussions and broad tests with wireguard, different
tunnel protocolls (l2tp,gretap,vxlan) the last weeks and simply forget
this, because last time this
On Dienstag, 21. Februar 2017 17:24:35 CET Andrew Lunn wrote:
> > |Error - can't write to file
> > '/sys/class/net/gre127/batman_adv/mesh_iface': Cannot allocate memory|
>
> As the message suggests, you are out of memory. This is not a BATMAN
> limit, it is a limit from the amount of RAM you have
Hi Jens
The script i just used is:
# add one if per 3 second and give output, also monitor dmesg
dmesg -w &
for i in `seq 1 255`; do
# one interface
ip link add gre$i type gretap local 192.168.99.1 remote 192.168.3.$i ttl
255 dev lan1
ip link set up dev gre$i
batctl if add gre$i
> |Error - can't write to file
> '/sys/class/net/gre127/batman_adv/mesh_iface': Cannot allocate memory|
As the message suggests, you are out of memory. This is not a BATMAN
limit, it is a limit from the amount of RAM you have in your device.
Andrew
i observe a limit of 127 interfaces which can be hooked into bat0
where do i find this limit, or does somebody can tell me more about
this? Or, if it is a good idea to circumwent this at all? Or, if its
even possible in actual protocoll structure.
background:
Freifunk with tunneldigger and l2tp
On Sonntag, 5. Februar 2017 07:45:48 CET Linus Lüssing wrote:
[...]
> + size = sizeof(*nhh_data);
> + elp_buff = skb_put(hard_iface->bat_v.elp_skb, size);
> + nhh_data = (struct batadv_tvlv_nhh_data *)elp_buff;
> + nhh_data->min_throughput = htonl(0);
> +
From: Jean Delvare
Git can be told to apply language-specific rules when generating diffs.
Enable this for C source code files (*.c and *.h) so that function names
are printed right. Specifically, doing so prevents "git diff" from
mistakenly considering unindented goto labels