Skip to contentSkip to conversation

tipc: apply skb linearization commit to stable 4.4.x

PATCH New Jon Maloy 1 participant 1 message Sep 14, 2016

Subsystems (2)
lore
Share & tools
lore

Jon Maloy

author
#0 lore raw

PATCH 1/1 tipc: apply skb linearization commit to stable 4.4.x

commit c7cad0d6f70cd upstream
(“tipc: move linearization of buffers to generic code”)

was applied to net-next in November 2015, and is present in kernel versions from 4.5.x onwards.

We later discovered that this commit also fixes a serious bug, since even L2 buffers may arrive non-linearized. Hence, in 4.4.x kernels we often see debug printouts like this:

[880.688856] Dropping name table update (0) of {1651649891, 1819082752, 0} from <1.1.1> key=402710022
[880.688862] Dropping name table update (0) of {4029808599, 2711729614, 1639218685} from <1.1.1> key=18102394
[880.688865] Dropping name table update (0) of {134218495, 4278191616, 100669184} from <1.1.1> key=0

Those are symptoms of the binding table having received "corrupt" publications read linearly from non-linear buffers. The above listed commit solves this problem, and should be applied even to 4.4 kernels.

2.7.4

------------------------------------------------------------------------------
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion