Searched hist:f7c0c2ae843b74f8dba55820cb0a3de19c976703 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/ipv4/ |
H A D | igmp.c | diff f7c0c2ae843b74f8dba55820cb0a3de19c976703 Tue May 28 15:34:27 CDT 2013 Simon Horman <horms@verge.net.au> ipv4: Correct comparisons and calculations using skb->tail and skb-transport_header
This corrects an regression introduced by "net: Use 16bits for *_headers fields of struct skbuff" when NET_SKBUFF_DATA_USES_OFFSET is not set. In that case skb->tail will be a pointer whereas skb->transport_header will be an offset from head. This is corrected by using wrappers that ensure that comparisons and calculations are always made using pointers.
Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | icmp.c | diff f7c0c2ae843b74f8dba55820cb0a3de19c976703 Tue May 28 15:34:27 CDT 2013 Simon Horman <horms@verge.net.au> ipv4: Correct comparisons and calculations using skb->tail and skb-transport_header
This corrects an regression introduced by "net: Use 16bits for *_headers fields of struct skbuff" when NET_SKBUFF_DATA_USES_OFFSET is not set. In that case skb->tail will be a pointer whereas skb->transport_header will be an offset from head. This is corrected by using wrappers that ensure that comparisons and calculations are always made using pointers.
Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | tcp.c | diff f7c0c2ae843b74f8dba55820cb0a3de19c976703 Tue May 28 15:34:27 CDT 2013 Simon Horman <horms@verge.net.au> ipv4: Correct comparisons and calculations using skb->tail and skb-transport_header
This corrects an regression introduced by "net: Use 16bits for *_headers fields of struct skbuff" when NET_SKBUFF_DATA_USES_OFFSET is not set. In that case skb->tail will be a pointer whereas skb->transport_header will be an offset from head. This is corrected by using wrappers that ensure that comparisons and calculations are always made using pointers.
Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
|