rwatson added a subscriber: bz.
rwatson added a comment.
Many of these changes are not sufficient to address the underlying problems
in this code, as the lock covers loop iteration but fails to protect the
stability of the 'ifp' or 'ia' pointer outside of the loop. It could be that
this prev
rwatson accepted this revision.
rwatson added a comment.
This revision is now accepted and ready to land.
This seems generally sensible.
I'm not quite sure about keeping the "Non-standard RSS hash types" comment,
as M_HASHTYPE_OPAQUE is basically intended to be a catch-all for any other
rwatson accepted this revision.
rwatson added a comment.
Seems sensible.
REVISION DETAIL
https://reviews.freebsd.org/D1805
To: davide, kmacy, np, lstewart, rrs, julian, adrian, rwatson
Cc: emaste, freebsd-net
___
freebsd-net@freebsd.org mailing list
rwatson requested changes to this revision.
rwatson added a comment.
This revision now requires changes to proceed.
Looks like some serious transcription errors are in this patch.
INLINE COMMENTS
sys/kern/uipc_sockbuf.c:225 Should this be so->so_rcv?
sys/kern/uipc_sockbuf.c:234 Should this be
rwatson added a comment.
Seems reasonable. I'm slightly surprised that any code other than sbwait()
actually implements the sleep on sb_acc, and wonder if either a use of
abstraction improvement, or an actual abstraction improvement, is needed to fix
t4_ddp.c.
REVISION DETAIL
https://reviews
rwatson added a comment.
np@'s comments are good ones, both with respect to ACK clocking and BPF -- but
this will also affect local firewalls that do state tracking and/or
transformation, and likewise will run into problems.
Given this discussion, I'm increasingly convinced that this is Not A G
rwatson added a comment.
Historically, I believe that we've allowed additional trailer content/padding
to be included at the end of mbuf chains that isn't in the IP datagram, and is
silently ignored, as it isn't included in the IP packet length. I may
misunderstand what was going on there, but
rwatson added a comment.
This patch is probably safe if limited to UDP.
REVISION DETAIL
https://reviews.freebsd.org/D1201
To: rodrigc, alfredperlstein, melifaro, glebius, hrs, wollman, bryanv, rpaulo,
adrian, bz, gnn, hiren, rwatson
Cc: freebsd-net, emaste, gnn, rwatson
__