Go to file
Antoine Tenart a3c9cc5e4b inet: preserve const qualifier in inet_sk()
JIRA: https://issues.redhat.com/browse/RHEL-48648
Upstream Status: linux.git

commit abc17a11ed29b0471e428d86189acca8d1a213c6
Author: Eric Dumazet <edumazet@google.com>
Date:   Thu Mar 16 15:31:55 2023 +0000

    inet: preserve const qualifier in inet_sk()

    We can change inet_sk() to propagate const qualifier of its argument.

    This should avoid some potential errors caused by accidental
    (const -> not_const) promotion.

    Other helpers like tcp_sk(), udp_sk(), raw_sk() will be handled
    in separate patch series.

    v2: use container_of_const() as advised by Jakub and Linus

    Signed-off-by: Eric Dumazet <edumazet@google.com>
    Link: https://lore.kernel.org/netdev/20230315142841.3a2ac99a@kernel.org/
    Link: https://lore.kernel.org/netdev/CAHk-=wiOf12nrYEF2vJMcucKjWPN-Ns_SW9fA7LwST_2Dzp7rw@mail.gmail.com/
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Antoine Tenart <atenart@redhat.com>
2024-07-16 17:29:40 +02:00
Documentation Merge: ALSA - update drivers for 9.5 2024-07-15 13:27:57 +00:00
LICENSES
arch Merge: ALSA - update drivers for 9.5 2024-07-15 13:27:57 +00:00
block
certs
crypto
drivers Merge: vxlan: Ensure headers are in skb's linear data part before accessing them. 2024-07-15 13:28:25 +00:00
fs Merge: pstore/platform: Add check for kstrdup 2024-07-12 14:12:50 +00:00
include inet: preserve const qualifier in inet_sk() 2024-07-16 17:29:40 +02:00
init
io_uring
ipc
kernel ptrace: Convert ptrace_attach() to use lock guards 2024-07-08 20:54:16 +02:00
lib Merge: ALSA - update drivers for 9.5 2024-07-15 13:27:57 +00:00
mm Merge: update drivers/base to match Linux v6.6 2024-07-12 14:11:54 +00:00
net inet: preserve const qualifier in inet_sk() 2024-07-16 17:29:40 +02:00
redhat Merge: redhat: Add cgroup kselftests to kernel-selftests-internal 2024-07-15 13:28:50 +00:00
samples
scripts
security inet: preserve const qualifier in inet_sk() 2024-07-16 17:29:40 +02:00
sound ASoC: fsl_rpmsg: update Kconfig dependencies 2024-07-08 20:55:21 +02:00
tools Merge: ALSA - update drivers for 9.5 2024-07-15 13:27:57 +00:00
usr
virt Merge: AMD updates + SEV-SNP backport for 9.5 2024-07-10 17:45:11 +00:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS ALSA: core: Add sound core KUnit test 2024-07-08 20:54:39 +02:00
Makefile
Makefile.rhelver [redhat] kernel-5.14.0-480.el9 2024-07-12 14:19:18 +00:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.