-
- Downloads
batman-adv: use ETH_HLEN instead of sizeof(struct ethhdr)
Instead of using sizeof(struct ethhdr) it is strongly recommended to use the
kernel macro ETH_HLEN. This patch substitute each occurrence of the former
expressione with the latter one.
Signed-off-by:
Antonio Quartulli <ordex@autistici.org>
Showing
- net/batman-adv/bat_iv_ogm.c 3 additions, 4 deletionsnet/batman-adv/bat_iv_ogm.c
- net/batman-adv/bridge_loop_avoidance.c 4 additions, 6 deletionsnet/batman-adv/bridge_loop_avoidance.c
- net/batman-adv/hard-interface.c 1 addition, 2 deletionsnet/batman-adv/hard-interface.c
- net/batman-adv/icmp_socket.c 2 additions, 2 deletionsnet/batman-adv/icmp_socket.c
- net/batman-adv/routing.c 4 additions, 4 deletionsnet/batman-adv/routing.c
- net/batman-adv/send.c 1 addition, 1 deletionnet/batman-adv/send.c
- net/batman-adv/soft-interface.c 1 addition, 1 deletionnet/batman-adv/soft-interface.c
- net/batman-adv/types.h 1 addition, 1 deletionnet/batman-adv/types.h
- net/batman-adv/vis.c 4 additions, 4 deletionsnet/batman-adv/vis.c
Loading
Please register or sign in to comment