Thread (1 message) 1 message, 1 author, 2016-06-15

Re: end of file newline regression

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:59

David Miller [off-list ref] writes:
quoted hunk
I've stumbled into a problem with current mainline.

I have this changeset that I can't get GIT to properly
generate diffs for.  It always give me:
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c
index 4440532..096974b 100644
--- a/net/ipv6/esp6.c
+++ b/net/ipv6/esp6.c
@@ -177,5 +177,4 @@ static int esp6_input(struct xfrm_state *x, struct sk_buff *skb)
 			BUG();
 
 		if (unlikely(memcmp(esp->auth.work_icv, sum, alen))) {
-			x->stats.integrity_failed++;
-			ret = -EINVAL;
\ No newline at end of file
+			ret = -EBADMSG;
\ No newline at end of file

No matter what I do, 1.5.3.7 doesn't do this.
Sorry, there was a recent brown-paper-bag.  Should have been fixed with
the patches flew on the list for the past 24 hours or so.  Could you try
it with the tip of 'master'?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help