[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190415171445.15534-1-gerald.schaefer@de.ibm.com>
Date: Mon, 15 Apr 2019 19:14:44 +0200
From: Gerald Schaefer <gerald.schaefer@...ibm.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Gerald Schaefer <gerald.schaefer@...ibm.com>
Subject: [PATCH 0/1] net/core: work around section mismatch warning for ptp_classifier
While preparing KASLR for s390, I stumbled over a section mismatch warning
after enabling -fPIE compiler option:
WARNING: vmlinux.o(.data+0x31070): Section mismatch in reference from the
variable print_fmt_kfree_skb to the variable .init.data:ptp_filter.51760
I found a patch that would address this issue as part of a KASLR patch
series for ARM from Ard Biesheuvel:
https://marc.info/?l=kernel-hardening&m=150444052819798&w=2
https://marc.info/?l=kernel-hardening&m=150444051919794&w=2
That patch series did not make it upstream, and there seems to be no other
arch using -fpic/pie so far, so this fix is still missing.
Dave, could you please pick it up, as we will see this warning on s390
after my KASRL patches go upstream.
Ard Biesheuvel (1):
net/core: work around section mismatch warning for ptp_classifier
net/core/ptp_classifier.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.16.4
Powered by blists - more mailing lists