Hence the reason I suggested we keep track of the statistics. If you think the user will actually care which frame it was that was rejected, then sure set it to TP_STATUS_LOSING. However, you should still continue with all remaining packets - returning from send won't matter since you'll have filled in the frame.
There's no point in adding socket options to determine the communication protocol with userspace - it's completely redundant. If someone needs a custom way, they can write their own module or patch this one.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html