You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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: (46 commits) tcp: MD5: Fix IPv6 signatures skbuff: add missing kernel-doc for do_not_encrypt net/ipv4/route.c: fix build error tcp: MD5: Fix MD5 signatures on certain ACK packets ipv6: Fix ip6_xmit to send fragments if ipfragok is true ipvs: Move userspace definitions to include/linux/ip_vs.h netdev: Fix lockdep warnings in multiqueue configurations. netfilter: xt_hashlimit: fix race between htable_destroy and htable_gc netfilter: ipt_recent: fix race between recent_mt_destroy and proc manipulations netfilter: nf_conntrack_tcp: decrease timeouts while data in unacknowledged irda: replace __FUNCTION__ with __func__ nsc-ircc: default to dongle type 9 on IBM hardware bluetooth: add quirks for a few hci_usb devices hysdn: remove the packed attribute from PofTimStamp_tag isdn: use the common ascii hex helpers tg3: adapt tg3 to use reworked PCI PM code atm: fix direct casts of pointers to u32 in the InterPhase driver atm: fix const assignment/discard warnings in the ATM networking driver net: use the common ascii hex helpers random32: seeding improvement ...
This commit is contained in:
@@ -475,11 +475,10 @@ static void arp_print(struct arp_payload *payload)
|
||||
#define HBUFFERLEN 30
|
||||
char hbuffer[HBUFFERLEN];
|
||||
int j,k;
|
||||
const char hexbuf[]= "0123456789abcdef";
|
||||
|
||||
for (k=0, j=0; k < HBUFFERLEN-3 && j < ETH_ALEN; j++) {
|
||||
hbuffer[k++]=hexbuf[(payload->src_hw[j]>>4)&15];
|
||||
hbuffer[k++]=hexbuf[payload->src_hw[j]&15];
|
||||
hbuffer[k++] = hex_asc_hi(payload->src_hw[j]);
|
||||
hbuffer[k++] = hex_asc_lo(payload->src_hw[j]);
|
||||
hbuffer[k++]=':';
|
||||
}
|
||||
hbuffer[--k]='\0';
|
||||
|
||||
@@ -305,10 +305,10 @@ static void recent_mt_destroy(const struct xt_match *match, void *matchinfo)
|
||||
spin_lock_bh(&recent_lock);
|
||||
list_del(&t->list);
|
||||
spin_unlock_bh(&recent_lock);
|
||||
recent_table_flush(t);
|
||||
#ifdef CONFIG_PROC_FS
|
||||
remove_proc_entry(t->name, proc_dir);
|
||||
#endif
|
||||
recent_table_flush(t);
|
||||
kfree(t);
|
||||
}
|
||||
mutex_unlock(&recent_mutex);
|
||||
|
||||
@@ -3223,7 +3223,9 @@ int __init ip_rt_init(void)
|
||||
*/
|
||||
void __init ip_static_sysctl_init(void)
|
||||
{
|
||||
#ifdef CONFIG_SYSCTL
|
||||
register_sysctl_paths(ipv4_route_path, ipv4_route_table);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
+2
-2
@@ -655,8 +655,8 @@ static void tcp_v4_send_ack(struct sk_buff *skb, u32 seq, u32 ack,
|
||||
rep.th.doff = arg.iov[0].iov_len/4;
|
||||
|
||||
tcp_v4_md5_hash_hdr((__u8 *) &rep.opt[offset],
|
||||
key, ip_hdr(skb)->daddr,
|
||||
ip_hdr(skb)->saddr, &rep.th);
|
||||
key, ip_hdr(skb)->saddr,
|
||||
ip_hdr(skb)->daddr, &rep.th);
|
||||
}
|
||||
#endif
|
||||
arg.csum = csum_tcpudp_nofold(ip_hdr(skb)->daddr,
|
||||
|
||||
Reference in New Issue
Block a user