Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (59 commits) igbvf.txt: Add igbvf Documentation igb.txt: Add igb documentation e100/e1000*/igb*/ixgb*: Add missing read memory barrier ixgbe: fix build error with FCOE_CONFIG without DCB_CONFIG netxen: protect tx timeout recovery by rtnl lock isdn: gigaset: use after free isdn: gigaset: add missing unlock solos-pci: Fix race condition in tasklet RX handling pkt_sched: Fix sch_sfq vs tcf_bind_filter oops net: disable preemption before call smp_processor_id() tcp: no md5sig option size check bug iwlwifi: fix locking assertions iwlwifi: fix TX tracer isdn: fix information leak net: Fix napi_gro_frags vs netpoll path usbnet: remove noisy and hardly useful printk rtl8180: avoid potential NULL deref in rtl8180_beacon_work ath9k: Remove myself from the MAINTAINERS list libertas: scan before assocation if no BSSID was given libertas: fix association with some APs by using extended rates ...
This commit is contained in:
commit
f6cec0ae58
80 changed files with 1319 additions and 458 deletions
|
|
@ -36,7 +36,7 @@ struct ppp_channel_ops {
|
|||
|
||||
struct ppp_channel {
|
||||
void *private; /* channel private data */
|
||||
struct ppp_channel_ops *ops; /* operations for this channel */
|
||||
const struct ppp_channel_ops *ops; /* operations for this channel */
|
||||
int mtu; /* max transmit packet size */
|
||||
int hdrlen; /* amount of headroom channel needs */
|
||||
void *ppp; /* opaque to channel */
|
||||
|
|
|
|||
|
|
@ -1379,6 +1379,11 @@ static inline int skb_network_offset(const struct sk_buff *skb)
|
|||
return skb_network_header(skb) - skb->data;
|
||||
}
|
||||
|
||||
static inline int pskb_network_may_pull(struct sk_buff *skb, unsigned int len)
|
||||
{
|
||||
return pskb_may_pull(skb, skb_network_offset(skb) + len);
|
||||
}
|
||||
|
||||
/*
|
||||
* CPUs often take a performance hit when accessing unaligned memory
|
||||
* locations. The actual performance hit varies, it can be small if the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue