diff options
| author | Qingfang Deng <[email protected]> | 2025-03-01 13:55:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-05 01:11:17 +0000 |
| commit | 95d0d094ba26432ec467e2260f4bf553053f1f8f (patch) | |
| tree | 7c3aae6663bbf9ee26d1830ac623483488b86046 /lib/crypto/mpi/mpi-cmp.c | |
| parent | Merge branch 'eth-fbnic-cleanup-macros-and-string-function' (diff) | |
| download | kernel-95d0d094ba26432ec467e2260f4bf553053f1f8f.tar.gz kernel-95d0d094ba26432ec467e2260f4bf553053f1f8f.zip | |
ppp: use IFF_NO_QUEUE in virtual interfaces
For PPPoE, PPTP, and PPPoL2TP, the start_xmit() function directly
forwards packets to the underlying network stack and never returns
anything other than 1. So these interfaces do not require a qdisc,
and the IFF_NO_QUEUE flag should be set.
Introduces a direct_xmit flag in struct ppp_channel to indicate when
IFF_NO_QUEUE should be applied. The flag is set in ppp_connect_channel()
for relevant protocols.
While at it, remove the usused latency member from struct ppp_channel.
Signed-off-by: Qingfang Deng <[email protected]>
Reviewed-by: Toke Høiland-Jørgensen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
