projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PA-RISC] Fix filldir warnings
[powerpc.git]
/
net
/
802
/
psnap.c
diff --git
a/net/802/psnap.c
b/net/802/psnap.c
index
ab80b1f
..
270b9d2
100644
(file)
--- a/
net/802/psnap.c
+++ b/
net/802/psnap.c
@@
-60,7
+60,7
@@
static int snap_rcv(struct sk_buff *skb, struct net_device *dev,
if (proto) {
/* Pass the frame on. */
skb->h.raw += 5;
if (proto) {
/* Pass the frame on. */
skb->h.raw += 5;
- skb_pull(skb, 5);
+ skb_pull
_rcsum
(skb, 5);
rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev);
} else {
skb->sk = NULL;
rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev);
} else {
skb->sk = NULL;
@@
-106,7
+106,7
@@
module_init(snap_init);
static void __exit snap_exit(void)
{
static void __exit snap_exit(void)
{
- llc_sap_
close
(snap_sap);
+ llc_sap_
put
(snap_sap);
}
module_exit(snap_exit);
}
module_exit(snap_exit);