af_llc.c (95d465fd750897ab32462a6702fbfe1b122cbbc0) | af_llc.c (624d1164730d58a494cc5aa4afa37d02c41e83a7) |
---|---|
1/* 2 * af_llc.c - LLC User Interface SAPs 3 * Description: 4 * Functions in this module are implementation of socket based llc 5 * communications for the Linux operating system. Support of llc class 6 * one and class two is provided via SOCK_DGRAM and SOCK_STREAM 7 * respectively. 8 * --- 775 unchanged lines hidden (view full) --- 784 *seq += used; 785 copied += used; 786 len -= used; 787 788 if (used + offset < skb->len) 789 continue; 790 791 if (!(flags & MSG_PEEK)) { | 1/* 2 * af_llc.c - LLC User Interface SAPs 3 * Description: 4 * Functions in this module are implementation of socket based llc 5 * communications for the Linux operating system. Support of llc class 6 * one and class two is provided via SOCK_DGRAM and SOCK_STREAM 7 * respectively. 8 * --- 775 unchanged lines hidden (view full) --- 784 *seq += used; 785 copied += used; 786 len -= used; 787 788 if (used + offset < skb->len) 789 continue; 790 791 if (!(flags & MSG_PEEK)) { |
792 sk_eat_skb(sk, skb); | 792 sk_eat_skb(sk, skb, 0); |
793 *seq = 0; 794 } 795 } while (len > 0); 796 797 /* 798 * According to UNIX98, msg_name/msg_namelen are ignored 799 * on connected socket. -ANK 800 * But... af_llc still doesn't have separate sets of methods for --- 385 unchanged lines hidden --- | 793 *seq = 0; 794 } 795 } while (len > 0); 796 797 /* 798 * According to UNIX98, msg_name/msg_namelen are ignored 799 * on connected socket. -ANK 800 * But... af_llc still doesn't have separate sets of methods for --- 385 unchanged lines hidden --- |