+ netlink-remove-dead-code.patch added to -mm tree
A message that is not in the archive (sent off-list or not yet received): [email protected]
From: [email protected]
Date: Wed, 21 Jun 2006 13:33:58 -0700
net/netlink/af_netlink.c static int netlink_dump(struct sock *sk) · line 1385
Quoted 13 lines
diff -puN
net/netlink/af_netlink.c~netlink-remove-dead-codenet/netlink/af_netlink.cnet/netlink/af_netlink.c renamed from net/netlink/af_netlink.c~netlink-remove-dead-code +0
-3@@ -1380,9 +1380,6 @@ static int netlink_dump(struct sock *sk)netlink_destroy_callback (cb);return 0 ; - -nlmsg_failure: -return -ENOBUFS ; } int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
Andrew, please type make before you commit things like this to your tree. This breaks the build.
These code labels are referenced internally by the netlink packet message macros, in this case the reference comes from NLMSG_NEW_ANSWER().
Quoted 15 lines · On Wed, 21 Jun 2006 13:53:39 -0700 (PDT) David Miller <[email protected]>…
From: [email protected]
Date: Wed, 21 Jun 2006 13:33:58 -0700Quoted 12 lines
diff -puN
net/netlink/af_netlink.c~netlink-remove-dead-codenet/netlink/af_netlink.cnet/netlink/af_netlink.c renamed from net/netlink/af_netlink.c~netlink-remove-dead-code +0
-3@@ -1380,9 +1380,6 @@ static int netlink_dump(struct sock *sk)netlink_destroy_callback (cb);return 0 ; - -nlmsg_failure: -return -ENOBUFS ; }
Quoted 4 lines
net/netlink/af_netlink.c static int netlink_dump(struct sock *sk) · line 1385
Quoted 1 line
net/netlink/af_netlink.c renamed from net/netlink/af_netlink.c~netlink-remove-dead-code +0
-0int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,Andrew, please type make before you commit things like this to your tree.
Nope. I build-test in batches, not after every patch.