kernel-ark/net/core
Olaf Kirch 5b5a60da28 [NET]: Make skb_seq_read unmap the last fragment
Having walked through the entire skbuff, skb_seq_read would leave the
last fragment mapped.  As a consequence, the unwary caller would leak
kmaps, and proceed with preempt_count off by one. The only (kind of
non-intuitive) workaround is to use skb_seq_read_abort.

This patch makes sure skb_seq_read always unmaps frag_data after
having cycled through the skb's paged part.

Signed-off-by: Olaf Kirch <olaf.kirch@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-06-23 23:11:52 -07:00
..
datagram.c
dev_mcast.c
dev.c [NET]: Re-enable irqs before pushing pending DMA requests 2007-06-23 23:09:23 -07:00
dst.c
ethtool.c
fib_rules.c
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile
neighbour.c [NETLINK]: Mark netlink policies const 2007-06-07 13:40:10 -07:00
net-sysfs.c
netevent.c
netpoll.c
pktgen.c
request_sock.c
rtnetlink.c [RTNETLINK]: ifindex 0 does not exist 2007-06-07 13:40:11 -07:00
scm.c
skbuff.c [NET]: Make skb_seq_read unmap the last fragment 2007-06-23 23:11:52 -07:00
sock.c
stream.c
sysctl_net_core.c
user_dma.c
utils.c