Fixed memory leak of skbuff. Requires changes to accurately do statistics
and some additional cosmetic changes. But this should be sufficient for
the next release candidate.
* packet.
*/
if (inet_stream_ops.bind != inet_bind &&
- (int) sk->sk_xid > 0 && sk->sk_xid != skb->xid)
+ (int) sk->sk_xid > 0 && sk->sk_xid != skb->xid) {
+ err = 0; /* ensures that it is silent */
+ kfree_skb(skb); /* discard frame */
goto out;
+ }
/* Cast skb->rcvbuf to unsigned... It's pointless, but reduces
number of warnings when compiling with -W --ANK