summaryrefslogtreecommitdiffstats
path: root/sys/ofed/include/net/netevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed/include/net/netevent.h')
-rw-r--r--sys/ofed/include/net/netevent.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/ofed/include/net/netevent.h b/sys/ofed/include/net/netevent.h
index db5b50e..c7bbc5f 100644
--- a/sys/ofed/include/net/netevent.h
+++ b/sys/ofed/include/net/netevent.h
@@ -42,7 +42,7 @@ enum netevent_notif_type {
struct llentry;
static inline void
-_handle_arp_update_event(void *arg, struct llentry *lle)
+_handle_arp_update_event(void *arg, struct llentry *lle, int evt __unused)
{
struct notifier_block *nb;
@@ -54,7 +54,7 @@ static inline int
register_netevent_notifier(struct notifier_block *nb)
{
nb->tags[NETEVENT_NEIGH_UPDATE] = EVENTHANDLER_REGISTER(
- arp_update_event, _handle_arp_update_event, nb, 0);
+ lle_event, _handle_arp_update_event, nb, 0);
return (0);
}
@@ -62,8 +62,7 @@ static inline int
unregister_netevent_notifier(struct notifier_block *nb)
{
- EVENTHANDLER_DEREGISTER(arp_update_event,
- nb->tags[NETEVENT_NEIGH_UPDATE]);
+ EVENTHANDLER_DEREGISTER(lle_event, nb->tags[NETEVENT_NEIGH_UPDATE]);
return (0);
}
OpenPOWER on IntegriCloud