summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/debugfs.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2014-12-01 10:37:28 +0100
committerAntonio Quartulli <antonio@meshcoding.com>2015-05-29 10:13:35 +0200
commit83e8b87721f21b26b843633caca8ef453e943623 (patch)
treec987f856131f264bc54667c1531d75cb875a5256 /net/batman-adv/debugfs.c
parentbatman-adv: Check total_size when queueing fragments (diff)
downloadlinux-83e8b87721f21b26b843633caca8ef453e943623.tar.xz
linux-83e8b87721f21b26b843633caca8ef453e943623.zip
batman-adv: Use only queued fragments when merging
The fragment queueing code now validates the total_size of each fragment, checks when enough fragments are queued to allow to merge them into a single packet and if the fragments have the correct size. Therefore, it is not required to have any other parameter for the merging function than a list of queued fragments. This change should avoid problems like in the past when the different skb from the list and the function parameter were mixed incorrectly. Signed-off-by: Sven Eckelmann <sven@narfation.org> Acked-by: Martin Hundebøll <martin@hundeboll.net> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/debugfs.c')
0 files changed, 0 insertions, 0 deletions