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)
commit41ab6c4891ed4cdd855ae569924acb1da424a614
tree073d8ba7befde0fb1965f0562f63dfb598d8210d
parent3abe4adbfb293e37d2d6f4fe22366534dc2675d9
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