aboutsummaryrefslogtreecommitdiff
path: root/net/batman-adv/bat_ogm.h
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-12-05 04:01:51 +0800
committerMarek Lindner <lindner_marek@yahoo.de>2012-02-17 02:50:19 +0800
commit8780dad9e97f564da0eb3443009c3203122e7e7d (patch)
tree9c291c379f5d94793162e24b22452f9ffe5277a3 /net/batman-adv/bat_ogm.h
parent76543d14aec6ce5cb3fc7be9b39c50fcebd2043b (diff)
batman-adv: simplify bat_ogm_receive API call
Most of the values in that call are derived from the skb, so we can hand over the skb instead. Reported-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/bat_ogm.h')
-rw-r--r--net/batman-adv/bat_ogm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/bat_ogm.h b/net/batman-adv/bat_ogm.h
index 69329c107e2..47edfde6f92 100644
--- a/net/batman-adv/bat_ogm.h
+++ b/net/batman-adv/bat_ogm.h
@@ -29,7 +29,6 @@ void bat_ogm_init_primary(struct hard_iface *hard_iface);
void bat_ogm_update_mac(struct hard_iface *hard_iface);
void bat_ogm_schedule(struct hard_iface *hard_iface, int tt_num_changes);
void bat_ogm_emit(struct forw_packet *forw_packet);
-void bat_ogm_receive(const struct ethhdr *ethhdr, unsigned char *packet_buff,
- int packet_len, struct hard_iface *if_incoming);
+void bat_ogm_receive(struct hard_iface *if_incoming, struct sk_buff *skb);
#endif /* _NET_BATMAN_ADV_OGM_H_ */