History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (44 commits) e1000e: increase driver version number e1000e: alternate MAC address update e1000e: do not disable receiver on 82574/82583 e1000e: alternate MAC address does not work on device id 0x1060 PCnet: Fix section mismatch bnx2x: disable dcb on 578xx since not supported yet bnx2x: properly clean indirect addresses bnx2x: prevent race between undi_unload and load flows bnx2x: fix select_queue when FCoE is disabled bnx2x: init FCOE FP only once ipv4: some rt_iif -> rt_route_iif conversions net/bridge/netfilter/ebtables.c: use available error handling code net/netlabel/netlabel_kapi.c: add missing cleanup code net/irda: sh_sir: tidyup compile warning net/irda: sh_sir: add missing header net/irda: sh_irda: add missing header slcan: ldisc generated skbs are received in softirq context scm: Capture the full credentials of the scm sender tcp: initialize variable ecn_ok in syncookies path drivers/net/wireless/wl1251: add missing kfree ...

Linus Torvalds committed 15 years ago

Commit ce8a84e2 parents eeca736 d80bcf446 files · +604 −106Browse files

Showing the changes to include (3 of 46 files). Show all

Unified · Split

3 files
  1. include/linux/netlink.h +1 −1
  2. include/linux/socket.h +4 −2
  3. include/net/inet_sock.h +1 −1
include/linux/netlink.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 #define MAX_LINKS 32
3030
3131 struct sockaddr_nl {
32− sa_family_t nl_family; /* AF_NETLINK */
32+ __kernel_sa_family_t nl_family; /* AF_NETLINK */
3333 unsigned short nl_pad; /* zero */
3434 __u32 nl_pid; /* port ID */
3535 __u32 nl_groups; /* multicast groups mask */
include/linux/socket.h+4−2
@@ -8,8 +8,10 @@ · 7 unmodified lines
88 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *))
99 /* Implementation specific desired alignment */
1010
11+typedef unsigned short __kernel_sa_family_t;
12+
1113 struct __kernel_sockaddr_storage {
12− unsigned short ss_family; /* address family */
14+ __kernel_sa_family_t ss_family; /* address family */
1315 /* Following field(s) are implementation specific */
1416 char __data[_K_SS_MAXSIZE - sizeof(unsigned short)];
1517 /* space to achieve desired size, */
@@ -35,7 +37,7 @@ struct seq_file; · 19 unmodified lines
3537 extern void socket_seq_show(struct seq_file *seq);
3638 #endif
3739
38−typedef unsigned short sa_family_t;
40+typedef __kernel_sa_family_t sa_family_t;
3941
4042 /*
4143 * 1003.1g requires sa_family_t and that sa_data is char.
include/net/inet_sock.h+1−1
@@ -238,7 +238,7 @@ static inline __u8 inet_sk_flowi_flags(const struct sock *sk) · 237 unmodified lines
238238 {
239239 __u8 flags = 0;
240240
241− if (inet_sk(sk)->transparent)
241+ if (inet_sk(sk)->transparent || inet_sk(sk)->hdrincl)
242242 flags |= FLOWI_FLAG_ANYSRC;
243243 if (sk->sk_protocol == IPPROTO_TCP)
244244 flags |= FLOWI_FLAG_PRECOW_METRICS;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t