summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorsamanthakumar <samanthakumar@google.com>2016-04-05 12:41:15 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-05 16:29:37 -0400
commite6afc8ace6dd5cef5e812f26c72579da8806f5ac (patch)
treeff84943f8c480deb208fba4b768e911f0c1090bf /include/net/sock.h
parentb9bb53f3836f4eb2bdeb3447be11042bd29c2408 (diff)
downloadblackbird-obmc-linux-e6afc8ace6dd5cef5e812f26c72579da8806f5ac.tar.gz
blackbird-obmc-linux-e6afc8ace6dd5cef5e812f26c72579da8806f5ac.zip
udp: remove headers from UDP packets before queueing
Remove UDP transport headers before queueing packets for reception. This change simplifies a follow-up patch to add MSG_PEEK support. Signed-off-by: Sam Kumar <samanthakumar@google.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 09aec75eb184..b75998952482 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1864,6 +1864,7 @@ void sk_reset_timer(struct sock *sk, struct timer_list *timer,
void sk_stop_timer(struct sock *sk, struct timer_list *timer);
+int __sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
int sock_queue_err_skb(struct sock *sk, struct sk_buff *skb);
OpenPOWER on IntegriCloud