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)
committerYves-Alexis Perez <corsac@debian.org>
Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)
commit76c9b7c4ef83309849d4cd6ddb681c049a843ba9
tree20d360767810fdcdc6067d5fd94ba00ce9c63b98
parent326b1a525edb8f48650a2a0bfa7f981a3990bae1
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