commit | 7ed4be9523455a061e62236dc3caa9211cd7edda | [log] [tgz] |
---|---|---|
author | Antonio Quartulli <ordex@autistici.org> | Mon Apr 08 15:08:18 2013 +0200 |
committer | Antonio Quartulli <ordex@autistici.org> | Wed May 29 02:44:54 2013 +0200 |
tree | 476ba10f0a15e50ff9f5409f4a4f4ee0e1388a47 | |
parent | 7db3fc291bb22bf43667b009dd0e701ed4eb7c96 [diff] |
batman-adv: use eth_hdr() when it makes sense Instead of casting the result of skb_mac_header() to "struct ethhdr *" every time, the eth_hdr inline function can be use to beautify the code and improve its readability. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>