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>
Thu, 28 Sep 2017 17:27:56 +0000 (18:27 +0100)
commitfdcd91b4911529e043a5eb146add4a9a44518c38
treef493f10726a10c9b47b675f297e8c442bf9f8778
parentb9e48185f97f36c0c8f363fa5bc3378cc4663a94
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