inet_frag: Limit ABI change in 4.9.51
authorBen Hutchings <ben@decadent.org.uk>
Mon, 25 Sep 2017 23:03:33 +0000 (00:03 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 3 Dec 2017 19:41:55 +0000 (19:41 +0000)
commitaf4b84efaffd85a22d19f88ab0399d31bb5be8a6
tree03f4d541887508ffaaebad36b0ed16d8dab9d4c7
parentd13abc6ed914b711a7ab592d8c81642e4ab5dd63
inet_frag: Limit ABI change in 4.9.51

Commit fb452a1aa3fd 'Revert "net: use lib/percpu_counter API for
fragmentation mem accounting"' changed the type of inet_frag::mem
from struct percpu_counter to atomic_t.  There are few modules
that actually depend on this, but struct inet_frag is embedded in
various other structures that end up affecting symbol versions
for a huge number of networking APIs.

So add padding to keep the structure size unchanged, hide the type
change from genksyms, and rename a key inet_frag function so that
those modules that actually depend on the type of inet_frag::mem do
see an ABI change.

Gbp-Pq: Topic debian
Gbp-Pq: Name inet_frag-limit-abi-change-in-4.9.51.patch
include/net/inet_frag.h