summaryrefslogtreecommitdiff
path: root/dev.h
AgeCommit message (Expand)AuthorFilesLines
2013-08-09dev: Integrate `promisc' module into `dev' moduleTobias Klauser1-0/+2
2013-08-08dev: Make device_mtu() return size_tTobias Klauser1-1/+1
2013-07-31dev: Constify `ifname' parameter to device_up_and_running()Tobias Klauser1-1/+1
2013-07-03pcap: support for various linktypesDaniel Borkmann1-0/+1
2013-06-04xutils: move device management functions out of xutilsDaniel Borkmann1-0/+15
up to commit f8ffad69c9f8 ("bpf: add skb_postpush_rcsum and fix dev_forward_skb occasions") to fix an issue for dev_queue_xmit() redirect locations which need CHECKSUM_COMPLETE fixups on ingress. For the same reasons as described in f8ffad69c9f8 already, we of course also need this here, since dev_queue_xmit() on a veth device will let us end up in the dev_forward_skb() helper again to cross namespaces. Latter then calls into skb_postpull_rcsum() to pull out L2 header, so that netif_rx_internal() sees CHECKSUM_COMPLETE as it is expected. That is, CHECKSUM_COMPLETE on ingress covering L2 _payload_, not L2 headers. Also here we have to address bpf_redirect() and bpf_clone_redirect(). Fixes: 3896d655f4d4 ("bpf: introduce bpf_clone_redirect() helper") Fixes: 27b29f63058d ("bpf: add bpf_redirect() helper") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat