]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: don't deal with NET_IP_ALIGN manually
authorAntonio Quartulli <ordex@autistici.org>
Tue, 2 Apr 2013 20:28:44 +0000 (22:28 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:54 +0000 (02:44 +0200)
commit4fa2914c0bb4cf3f6e1d82fd11e8ad3b3adb2fe6
tree073d8ba7befde0fb1965f0562f63dfb598d8210d
parentb9595cc418e20e10bb90ad34afd2433bc486ca62
batman-adv: don't deal with NET_IP_ALIGN manually

Instead of dealing with NET_IP_ALIGN during allocation and
headroom reservation, it is possible to use
netdev_alloc_skb_ip_align() which transparently allocate
and reserve the correct amount of data

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/icmp_socket.c
net/batman-adv/translation-table.c
net/batman-adv/vis.c