Skip to content

several minor Netlink fixes

Pablo Neira Ayuso netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am 20100316232247.4185.19426.stgit@decadence

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3netlink: fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err()include/linux/netlink.h net/netlink/af_netlink.c+12 -311 replies
2/3netfilter: ctnetlink: fix reliable event delivery if message building failsinclude/linux/netfilter/nfnetlink.h net/netfilter/nf_conntrack_netlink.c net/netfilter/nfnetlink.c+6 -40 replies
3/3netlink: fix unaligned access in nla_get_be64()include/net/netlink.h+5 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] several minor Netlink fixes

Hi!

This patchset contains a couple of fixes for Netlink related stuff. More relevantly, a path that allows to set ENOBUFS when NETLINK_NO_ENOBUFS is set (that should not happen). It follows the corresponding fix for ctnetlink. This patchset closes with one fix for a unaligned access.

Please apply! Thanks!

---

Pablo Neira Ayuso (3):
netlink: fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err()
netfilter: ctnetlink: fix reliable event delivery if message building fails
netlink: fix unaligned access in nla_get_be64()

 include/linux/netfilter/nfnetlink.h  |    2 +-
 include/linux/netlink.h              |    2 +-
 include/net/netlink.h                |    6 +++++-
 net/netfilter/nf_conntrack_netlink.c |    4 +++-
 net/netfilter/nfnetlink.c            |    4 ++--
 net/netlink/af_netlink.c             |   13 +++++++++++--
 6 files changed, 23 insertions(+), 8 deletions(-)