]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Finish r191148: replace rtentry with route in if_bridge if_output() callback.
authormelifaro <melifaro@FreeBSD.org>
Fri, 17 Apr 2020 17:05:58 +0000 (17:05 +0000)
committermelifaro <melifaro@FreeBSD.org>
Fri, 17 Apr 2020 17:05:58 +0000 (17:05 +0000)
commitebeaf1673a4eaed2cb977ec59f0cbae552feff56
treea38be6729adbe2d89c56b232fe2fe1b21c55fe47
parent7f5a74aaa215af241083c099b3ad31877a6079ab
Finish r191148: replace rtentry with route in if_bridge if_output() callback.

Generic if_output() callback signature was modified to use struct route
 instead of struct rtentry in r191148, back in 2009.

Quoting commit message:

 Change if_output to take a struct route as its fourth argument in order
 to allow passing a cached struct llentry * down to L2

Fix bridge_output() to match this signature and update the remaining
 comment in if_var.h.

Reviewed by: kp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24394
sys/net/if_bridge.c
sys/net/if_var.h