mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[SK_BUFF]: unions of just one member don't get anything done, kill them
Renaming skb->h to skb->transport_header, skb->nh to skb->network_header and
skb->mac to skb->mac_header, to match the names of the associated helpers
(skb[_[re]set]_{transport,network,mac}_header).
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cfe1fc7759
commit
b0e380b1d8
46 changed files with 162 additions and 165 deletions
|
|
@ -114,22 +114,22 @@ On receive:
|
|||
-----------
|
||||
|
||||
Incoming, dev->hard_header!=NULL
|
||||
mac.raw -> ll header
|
||||
data -> data
|
||||
mac_header -> ll header
|
||||
data -> data
|
||||
|
||||
Outgoing, dev->hard_header!=NULL
|
||||
mac.raw -> ll header
|
||||
data -> ll header
|
||||
mac_header -> ll header
|
||||
data -> ll header
|
||||
|
||||
Incoming, dev->hard_header==NULL
|
||||
mac.raw -> UNKNOWN position. It is very likely, that it points to ll header.
|
||||
PPP makes it, that is wrong, because introduce assymetry
|
||||
between rx and tx paths.
|
||||
data -> data
|
||||
mac_header -> UNKNOWN position. It is very likely, that it points to ll
|
||||
header. PPP makes it, that is wrong, because introduce
|
||||
assymetry between rx and tx paths.
|
||||
data -> data
|
||||
|
||||
Outgoing, dev->hard_header==NULL
|
||||
mac.raw -> data. ll header is still not built!
|
||||
data -> data
|
||||
mac_header -> data. ll header is still not built!
|
||||
data -> data
|
||||
|
||||
Resume
|
||||
If dev->hard_header==NULL we are unlikely to restore sensible ll header.
|
||||
|
|
@ -139,12 +139,12 @@ On transmit:
|
|||
------------
|
||||
|
||||
dev->hard_header != NULL
|
||||
mac.raw -> ll header
|
||||
data -> ll header
|
||||
mac_header -> ll header
|
||||
data -> ll header
|
||||
|
||||
dev->hard_header == NULL (ll header is added by device, we cannot control it)
|
||||
mac.raw -> data
|
||||
data -> data
|
||||
mac_header -> data
|
||||
data -> data
|
||||
|
||||
We should set nh.raw on output to correct posistion,
|
||||
packet classifier depends on it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue