All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Fix fallout from conversion of skb headers to 16bit offsets
@ 2013-05-29  5:27 Simon Horman
  2013-05-29  5:27 ` [PATCH 1/7] isdn: Correct comparison of skb->tail and skb-transport_header Simon Horman
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Simon Horman @ 2013-05-29  5:27 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Simon Horman

Many apologies for not having the foresight to spot these problems earlier.

These problems relate to comparisons between integer offsets and pointers
that occur when NET_SKBUFF_DATA_USES_OFFSET is not set

These are regressions caused by "net: Use 16bits for *_headers fields of
struct skbuff".

Simon Horman (7):
  isdn: Correct comparison of skb->tail and skb-transport_header
  cxgb3: Correct comparisons and calculations using skb->tail and
    skb-transport_header
  net: Correct comparisons and calculations using skb->tail and
    skb-transport_header
  ipv6: Correct comparisons and calculations using skb->tail and
    skb-transport_header
  ipv4: Correct comparisons and calculations using skb->tail and
    skb-transport_header
  sctp: Correct access to skb->{network,transport}_header
  net,ipv4,ipv6: Correct assignment of skb->network_header to skb->tail

 drivers/isdn/i4l/isdn_net.c              |    2 +-
 drivers/net/ethernet/chelsio/cxgb3/sge.c |   11 +++++------
 include/linux/skbuff.h                   |    9 +++++++++
 include/net/inet_ecn.h                   |    6 ++++--
 net/core/dev.c                           |    4 ++--
 net/core/netpoll.c                       |    9 ++++++++-
 net/core/pktgen.c                        |   16 ++++++++++++++--
 net/ipv4/icmp.c                          |    3 ++-
 net/ipv4/igmp.c                          |    2 +-
 net/ipv4/ipmr.c                          |    8 +++++++-
 net/ipv4/tcp.c                           |    3 ++-
 net/ipv6/exthdrs_core.c                  |    2 +-
 net/ipv6/icmp.c                          |    2 +-
 net/ipv6/mcast.c                         |    5 +++--
 net/ipv6/mip6.c                          |    6 ++++--
 net/ipv6/ndisc.c                         |    9 +++++----
 net/ipv6/output_core.c                   |    3 ++-
 net/ipv6/raw.c                           |    3 ++-
 net/ipv6/route.c                         |    2 +-
 net/sctp/input.c                         |    2 +-
 net/sctp/ipv6.c                          |    2 +-
 21 files changed, 76 insertions(+), 33 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-05-31  6:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29  5:27 [PATCH 0/7] Fix fallout from conversion of skb headers to 16bit offsets Simon Horman
2013-05-29  5:27 ` [PATCH 1/7] isdn: Correct comparison of skb->tail and skb-transport_header Simon Horman
2013-05-29  5:27 ` [PATCH 2/7] cxgb3: Correct comparisons and calculations using " Simon Horman
2013-05-29  5:27 ` [PATCH 3/7] net: " Simon Horman
2013-05-29  5:27 ` [PATCH 4/7] ipv6: " Simon Horman
2013-05-29  5:27 ` [PATCH 5/7] ipv4: " Simon Horman
2013-05-29  5:27 ` [PATCH 6/7] sctp: Correct access to skb->{network,transport}_header Simon Horman
2013-05-29 19:31   ` Ben Hutchings
2013-05-31  6:21     ` Simon Horman
2013-05-29  5:27 ` [PATCH 7/7] net,ipv4,ipv6: Correct assignment of skb->network_header to skb->tail Simon Horman
2013-05-29  5:35   ` Eric Dumazet
2013-05-29  5:44     ` David Miller
2013-05-29  6:01       ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.